home *** CD-ROM | disk | FTP | other *** search
/ MacWorld 2000 February / Macworld (2000-02).dmg / Updaters / WhiteCap 3.2.2.sea / WhiteCap 3.2.2 / WhiteCap Source / SJ SDK / SoundJamAPI.c < prev    next >
MacBinary  |  1999-08-06  |  14.8 KB  |  [TEXT/CWIE]

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text

This file was processed as: MacBinary (archive/macBinary).

You can browse this item here: SoundJamAPI.c

ConfidenceProgramDetectionMatch TypeSupport
66% dexvert Compact Compressed (Unix) (archive/compact) ext Supported
10% dexvert MacBinary (archive/macBinary) fallback Supported
1% dexvert Text File (text/txt) fallback Supported
100% file MacBinary II, inited, Fri Aug 6 17:25:54 1999, modified Fri Aug 6 17:25:54 1999, creator 'CWIE', type ASCII, 14408 bytes "SoundJamAPI.c" , at 0x38c8 410 bytes resource default (weak)
99% file data default
74% TrID Macintosh plain text (MacBinary) default
25% TrID MacBinary 2 default (weak)
100% siegfried fmt/1762 MacBinary (II) default
100% lsar MacBinary default


id metadata
keyvalue
macFileType[TEXT]
macFileCreator[CWIE]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 0d 53 6f 75 6e 64 4a | 61 6d 41 50 49 2e 63 00 |..SoundJ|amAPI.c.|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 43 57 49 | 45 01 00 00 00 00 00 00 |.TEXTCWI|E.......|
|00000050| 00 00 00 00 00 38 48 00 | 00 01 9a b3 d1 03 62 b3 |.....8H.|......b.|
|00000060| d1 03 62 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |..b.....|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 d7 4a 00 00 |........|.....J..|
|00000080| 2f 2a 0d 09 46 69 6c 65 | 3a 09 09 50 6c 61 79 65 |/*..File|:..Playe|
|00000090| 72 41 50 49 2e 63 0d 0d | 09 43 6f 6e 74 61 69 6e |rAPI.c..|.Contain|
|000000a0| 73 3a 09 0d 0d 09 57 72 | 69 74 74 65 6e 20 62 79 |s:....Wr|itten by|
|000000b0| 3a 09 4a 65 66 66 20 52 | 6f 62 62 69 6e 0d 0d 09 |:.Jeff R|obbin...|
|000000c0| 43 6f 70 79 72 69 67 68 | 74 3a 09 43 6f 70 79 72 |Copyrigh|t:.Copyr|
|000000d0| 69 67 68 74 20 a9 31 39 | 39 38 20 4a 65 66 66 20 |ight .19|98 Jeff |
|000000e0| 52 6f 62 62 69 6e 0d 2a | 2f 0d 0d 0d 23 69 6e 63 |Robbin.*|/...#inc|
|000000f0| 6c 75 64 65 20 22 53 6f | 75 6e 64 4a 61 6d 41 50 |lude "So|undJamAP|
|00000100| 49 2e 68 22 0d 0d 0d 2f | 2f 20 4d 65 6d 43 6c 65 |I.h".../|/ MemCle|
|00000110| 61 72 0d 2f 2f 0d 73 74 | 61 74 69 63 20 76 6f 69 |ar.//.st|atic voi|
|00000120| 64 20 4d 65 6d 43 6c 65 | 61 72 20 28 4c 6f 67 69 |d MemCle|ar (Logi|
|00000130| 63 61 6c 41 64 64 72 65 | 73 73 20 64 65 73 74 2c |calAddre|ss dest,|
|00000140| 20 53 49 6e 74 33 32 20 | 6c 65 6e 67 74 68 29 0d | SInt32 |length).|
|00000150| 7b 0d 09 72 65 67 69 73 | 74 65 72 20 75 6e 73 69 |{..regis|ter unsi|
|00000160| 67 6e 65 64 20 63 68 61 | 72 09 2a 70 74 72 3b 0d |gned cha|r.*ptr;.|
|00000170| 0d 09 70 74 72 20 3d 20 | 28 75 6e 73 69 67 6e 65 |..ptr = |(unsigne|
|00000180| 64 20 63 68 61 72 20 2a | 29 20 64 65 73 74 3b 0d |d char *|) dest;.|
|00000190| 09 0d 09 69 66 28 20 6c | 65 6e 67 74 68 20 3e 20 |...if( l|ength > |
|000001a0| 31 36 20 29 0d 09 7b 0d | 09 09 72 65 67 69 73 74 |16 )..{.|..regist|
|000001b0| 65 72 20 75 6e 73 69 67 | 6e 65 64 20 6c 6f 6e 67 |er unsig|ned long|
|000001c0| 09 2a 6c 6f 6e 67 50 74 | 72 3b 0d 09 09 0d 09 09 |.*longPt|r;......|
|000001d0| 77 68 69 6c 65 28 20 28 | 28 75 6e 73 69 67 6e 65 |while( (|(unsigne|
|000001e0| 64 20 6c 6f 6e 67 29 20 | 70 74 72 20 26 20 33 29 |d long) |ptr & 3)|
|000001f0| 20 21 3d 20 30 20 29 0d | 09 09 7b 0d 09 09 09 2a | != 0 ).|..{....*|
|00000200| 70 74 72 2b 2b 20 3d 20 | 30 3b 0d 09 09 09 2d 2d |ptr++ = |0;....--|
|00000210| 6c 65 6e 67 74 68 3b 0d | 09 09 7d 0d 09 09 0d 09 |length;.|..}.....|
|00000220| 09 6c 6f 6e 67 50 74 72 | 20 3d 20 28 75 6e 73 69 |.longPtr| = (unsi|
|00000230| 67 6e 65 64 20 6c 6f 6e | 67 20 2a 29 20 70 74 72 |gned lon|g *) ptr|
|00000240| 3b 0d 09 09 0d 09 09 77 | 68 69 6c 65 28 20 6c 65 |;......w|hile( le|
|00000250| 6e 67 74 68 20 3e 3d 20 | 34 20 29 0d 09 09 7b 0d |ngth >= |4 )...{.|
|00000260| 09 09 09 2a 6c 6f 6e 67 | 50 74 72 2b 2b 20 09 3d |...*long|Ptr++ .=|
|00000270| 20 30 3b 0d 09 09 09 6c | 65 6e 67 74 68 09 09 2d | 0;....l|ength..-|
|00000280| 3d 20 34 3b 0d 09 09 7d | 0d 09 09 0d 09 09 70 74 |= 4;...}|......pt|
|00000290| 72 20 3d 20 28 75 6e 73 | 69 67 6e 65 64 20 63 68 |r = (uns|igned ch|
|000002a0| 61 72 20 2a 29 20 6c 6f | 6e 67 50 74 72 3b 0d 09 |ar *) lo|ngPtr;..|
|000002b0| 7d 0d 09 0d 09 77 68 69 | 6c 65 28 20 2d 2d 6c 65 |}....whi|le( --le|
|000002c0| 6e 67 74 68 20 3e 3d 20 | 30 20 29 0d 09 7b 0d 09 |ngth >= |0 )..{..|
|000002d0| 09 2a 70 74 72 2b 2b 20 | 3d 20 30 3b 0d 09 7d 0d |.*ptr++ |= 0;..}.|
|000002e0| 7d 0d 0d 0d 2f 2f 20 43 | 61 6c 6c 53 6f 75 6e 64 |}...// C|allSound|
|000002f0| 4a 61 6d 0d 2f 2f 0d 73 | 74 61 74 69 63 20 4f 53 |Jam.//.s|tatic OS|
|00000300| 53 74 61 74 75 73 20 43 | 61 6c 6c 53 6f 75 6e 64 |Status C|allSound|
|00000310| 4a 61 6d 20 28 76 6f 69 | 64 20 2a 61 70 70 43 6f |Jam (voi|d *appCo|
|00000320| 6f 6b 69 65 2c 20 53 6f | 75 6e 64 4a 61 6d 50 72 |okie, So|undJamPr|
|00000330| 6f 63 50 74 72 20 68 61 | 6e 64 6c 65 72 2c 20 4f |ocPtr ha|ndler, O|
|00000340| 53 54 79 70 65 20 6d 65 | 73 73 61 67 65 2c 20 50 |SType me|ssage, P|
|00000350| 6c 61 79 65 72 4d 65 73 | 73 61 67 65 49 6e 66 6f |layerMes|sageInfo|
|00000360| 20 2a 6d 65 73 73 61 67 | 65 49 6e 66 6f 29 0d 7b | *messag|eInfo).{|
|00000370| 0d 09 50 6c 61 79 65 72 | 4d 65 73 73 61 67 65 49 |..Player|MessageI|
|00000380| 6e 66 6f 09 6c 6f 63 61 | 6c 4d 65 73 73 61 67 65 |nfo.loca|lMessage|
|00000390| 49 6e 66 6f 3b 0d 09 0d | 09 69 66 20 28 6d 65 73 |Info;...|.if (mes|
|000003a0| 73 61 67 65 49 6e 66 6f | 20 3d 3d 20 6e 69 6c 29 |sageInfo| == nil)|
|000003b0| 0d 09 7b 0d 09 09 4d 65 | 6d 43 6c 65 61 72 28 26 |..{...Me|mClear(&|
|000003c0| 6c 6f 63 61 6c 4d 65 73 | 73 61 67 65 49 6e 66 6f |localMes|sageInfo|
|000003d0| 2c 20 73 69 7a 65 6f 66 | 28 6c 6f 63 61 6c 4d 65 |, sizeof|(localMe|
|000003e0| 73 73 61 67 65 49 6e 66 | 6f 29 29 3b 0d 09 09 0d |ssageInf|o));....|
|000003f0| 09 09 6d 65 73 73 61 67 | 65 49 6e 66 6f 20 3d 20 |..messag|eInfo = |
|00000400| 26 6c 6f 63 61 6c 4d 65 | 73 73 61 67 65 49 6e 66 |&localMe|ssageInf|
|00000410| 6f 3b 0d 09 7d 0d 09 0d | 09 6d 65 73 73 61 67 65 |o;..}...|.message|
|00000420| 49 6e 66 6f 2d 3e 76 65 | 72 73 69 6f 6e 20 3d 20 |Info->ve|rsion = |
|00000430| 6b 43 75 72 72 65 6e 74 | 50 6c 75 67 69 6e 4d 65 |kCurrent|PluginMe|
|00000440| 73 73 61 67 65 56 65 72 | 73 69 6f 6e 3b 0d 09 0d |ssageVer|sion;...|
|00000450| 09 72 65 74 75 72 6e 20 | 68 61 6e 64 6c 65 72 28 |.return |handler(|
|00000460| 61 70 70 43 6f 6f 6b 69 | 65 2c 20 6d 65 73 73 61 |appCooki|e, messa|
|00000470| 67 65 2c 20 6d 65 73 73 | 61 67 65 49 6e 66 6f 29 |ge, mess|ageInfo)|
|00000480| 3b 0d 7d 0d 0d 0d 2f 2f | 20 50 6c 61 79 65 72 53 |;.}...//| PlayerS|
|00000490| 65 74 50 72 65 66 65 72 | 65 6e 63 65 0d 2f 2f 0d |etPrefer|ence.//.|
|000004a0| 4f 53 53 74 61 74 75 73 | 20 50 6c 61 79 65 72 53 |OSStatus| PlayerS|
|000004b0| 65 74 50 72 65 66 65 72 | 65 6e 63 65 20 28 76 6f |etPrefer|ence (vo|
|000004c0| 69 64 20 2a 61 70 70 43 | 6f 6f 6b 69 65 2c 20 53 |id *appC|ookie, S|
|000004d0| 6f 75 6e 64 4a 61 6d 50 | 72 6f 63 50 74 72 20 70 |oundJamP|rocPtr p|
|000004e0| 6c 61 79 65 72 48 61 6e | 64 6c 65 72 2c 20 4f 53 |layerHan|dler, OS|
|000004f0| 54 79 70 65 20 70 72 65 | 66 65 72 65 6e 63 65 2c |Type pre|ference,|
|00000500| 20 55 49 6e 74 33 32 20 | 76 61 6c 75 65 29 0d 7b | UInt32 |value).{|
|00000510| 0d 09 50 6c 61 79 65 72 | 4d 65 73 73 61 67 65 49 |..Player|MessageI|
|00000520| 6e 66 6f 09 6d 65 73 73 | 61 67 65 49 6e 66 6f 3b |nfo.mess|ageInfo;|
|00000530| 0d 09 0d 09 4d 65 6d 43 | 6c 65 61 72 28 26 6d 65 |....MemC|lear(&me|
|00000540| 73 73 61 67 65 49 6e 66 | 6f 2c 20 73 69 7a 65 6f |ssageInf|o, sizeo|
|00000550| 66 28 6d 65 73 73 61 67 | 65 49 6e 66 6f 29 29 3b |f(messag|eInfo));|
|00000560| 0d 09 0d 09 6d 65 73 73 | 61 67 65 49 6e 66 6f 2e |....mess|ageInfo.|
|00000570| 75 2e 70 72 65 66 65 72 | 65 6e 63 65 4d 65 73 73 |u.prefer|enceMess|
|00000580| 61 67 65 2e 70 72 65 66 | 65 72 65 6e 63 65 09 3d |age.pref|erence.=|
|00000590| 20 70 72 65 66 65 72 65 | 6e 63 65 3b 0d 09 6d 65 | prefere|nce;..me|
|000005a0| 73 73 61 67 65 49 6e 66 | 6f 2e 75 2e 70 72 65 66 |ssageInf|o.u.pref|
|000005b0| 65 72 65 6e 63 65 4d 65 | 73 73 61 67 65 2e 76 61 |erenceMe|ssage.va|
|000005c0| 6c 75 65 09 09 3d 20 76 | 61 6c 75 65 3b 0d 0d 09 |lue..= v|alue;...|
|000005d0| 72 65 74 75 72 6e 20 43 | 61 6c 6c 53 6f 75 6e 64 |return C|allSound|
|000005e0| 4a 61 6d 28 61 70 70 43 | 6f 6f 6b 69 65 2c 20 70 |Jam(appC|ookie, p|
|000005f0| 6c 61 79 65 72 48 61 6e | 64 6c 65 72 2c 20 6b 50 |layerHan|dler, kP|
|00000600| 6c 61 79 65 72 53 65 74 | 50 72 65 66 65 72 65 6e |layerSet|Preferen|
|00000610| 63 65 4d 65 73 73 61 67 | 65 2c 20 26 6d 65 73 73 |ceMessag|e, &mess|
|00000620| 61 67 65 49 6e 66 6f 29 | 3b 0d 7d 0d 0d 0d 2f 2f |ageInfo)|;.}...//|
|00000630| 20 50 6c 61 79 65 72 47 | 65 74 50 72 65 66 65 72 | PlayerG|etPrefer|
|00000640| 65 6e 63 65 0d 2f 2f 0d | 4f 53 53 74 61 74 75 73 |ence.//.|OSStatus|
|00000650| 20 50 6c 61 79 65 72 47 | 65 74 50 72 65 66 65 72 | PlayerG|etPrefer|
|00000660| 65 6e 63 65 20 28 76 6f | 69 64 20 2a 61 70 70 43 |ence (vo|id *appC|
|00000670| 6f 6f 6b 69 65 2c 20 53 | 6f 75 6e 64 4a 61 6d 50 |ookie, S|oundJamP|
|00000680| 72 6f 63 50 74 72 20 70 | 6c 61 79 65 72 48 61 6e |rocPtr p|layerHan|
|00000690| 64 6c 65 72 2c 20 4f 53 | 54 79 70 65 20 70 72 65 |dler, OS|Type pre|
|000006a0| 66 65 72 65 6e 63 65 2c | 20 55 49 6e 74 33 32 20 |ference,| UInt32 |
|000006b0| 2a 76 61 6c 75 65 29 0d | 7b 0d 09 4f 53 53 74 61 |*value).|{..OSSta|
|000006c0| 74 75 73 09 09 09 73 74 | 61 74 75 73 3b 0d 09 50 |tus...st|atus;..P|
|000006d0| 6c 61 79 65 72 4d 65 73 | 73 61 67 65 49 6e 66 6f |layerMes|sageInfo|
|000006e0| 09 6d 65 73 73 61 67 65 | 49 6e 66 6f 3b 0d 09 0d |.message|Info;...|
|000006f0| 09 4d 65 6d 43 6c 65 61 | 72 28 26 6d 65 73 73 61 |.MemClea|r(&messa|
|00000700| 67 65 49 6e 66 6f 2c 20 | 73 69 7a 65 6f 66 28 6d |geInfo, |sizeof(m|
|00000710| 65 73 73 61 67 65 49 6e | 66 6f 29 29 3b 0d 09 0d |essageIn|fo));...|
|00000720| 09 6d 65 73 73 61 67 65 | 49 6e 66 6f 2e 75 2e 70 |.message|Info.u.p|
|00000730| 72 65 66 65 72 65 6e 63 | 65 4d 65 73 73 61 67 65 |referenc|eMessage|
|00000740| 2e 70 72 65 66 65 72 65 | 6e 63 65 09 3d 20 70 72 |.prefere|nce.= pr|
|00000750| 65 66 65 72 65 6e 63 65 | 3b 0d 0d 09 73 74 61 74 |eference|;...stat|
|00000760| 75 73 20 3d 20 43 61 6c | 6c 53 6f 75 6e 64 4a 61 |us = Cal|lSoundJa|
|00000770| 6d 28 61 70 70 43 6f 6f | 6b 69 65 2c 20 70 6c 61 |m(appCoo|kie, pla|
|00000780| 79 65 72 48 61 6e 64 6c | 65 72 2c 20 6b 50 6c 61 |yerHandl|er, kPla|
|00000790| 79 65 72 47 65 74 50 72 | 65 66 65 72 65 6e 63 65 |yerGetPr|eference|
|000007a0| 4d 65 73 73 61 67 65 2c | 20 26 6d 65 73 73 61 67 |Message,| &messag|
|000007b0| 65 49 6e 66 6f 29 3b 0d | 09 0d 09 69 66 20 28 28 |eInfo);.|...if ((|
|000007c0| 76 61 6c 75 65 20 21 3d | 20 6e 69 6c 29 20 26 26 |value !=| nil) &&|
|000007d0| 20 28 73 74 61 74 75 73 | 20 3d 3d 20 6e 6f 45 72 | (status| == noEr|
|000007e0| 72 29 29 0d 09 09 2a 76 | 61 6c 75 65 20 3d 20 6d |r))...*v|alue = m|
|000007f0| 65 73 73 61 67 65 49 6e | 66 6f 2e 75 2e 70 72 65 |essageIn|fo.u.pre|
|00000800| 66 65 72 65 6e 63 65 4d | 65 73 73 61 67 65 2e 76 |ferenceM|essage.v|
|00000810| 61 6c 75 65 3b 0d 09 0d | 09 72 65 74 75 72 6e 20 |alue;...|.return |
|00000820| 73 74 61 74 75 73 3b 0d | 7d 0d 0d 0d 2f 2f 20 50 |status;.|}...// P|
|00000830| 6c 61 79 65 72 53 65 74 | 46 75 6c 6c 53 63 72 65 |layerSet|FullScre|
|00000840| 65 6e 0d 2f 2f 0d 4f 53 | 53 74 61 74 75 73 20 50 |en.//.OS|Status P|
|00000850| 6c 61 79 65 72 53 65 74 | 46 75 6c 6c 53 63 72 65 |layerSet|FullScre|
|00000860| 65 6e 20 28 76 6f 69 64 | 20 2a 61 70 70 43 6f 6f |en (void| *appCoo|
|00000870| 6b 69 65 2c 20 53 6f 75 | 6e 64 4a 61 6d 50 72 6f |kie, Sou|ndJamPro|
|00000880| 63 50 74 72 20 70 6c 61 | 79 65 72 48 61 6e 64 6c |cPtr pla|yerHandl|
|00000890| 65 72 2c 20 42 6f 6f 6c | 65 61 6e 20 66 75 6c 6c |er, Bool|ean full|
|000008a0| 53 63 72 65 65 6e 29 0d | 7b 0d 09 50 6c 61 79 65 |Screen).|{..Playe|
|000008b0| 72 4d 65 73 73 61 67 65 | 49 6e 66 6f 09 6d 65 73 |rMessage|Info.mes|
|000008c0| 73 61 67 65 49 6e 66 6f | 3b 0d 09 0d 09 4d 65 6d |sageInfo|;....Mem|
|000008d0| 43 6c 65 61 72 28 26 6d | 65 73 73 61 67 65 49 6e |Clear(&m|essageIn|
|000008e0| 66 6f 2c 20 73 69 7a 65 | 6f 66 28 6d 65 73 73 61 |fo, size|of(messa|
|000008f0| 67 65 49 6e 66 6f 29 29 | 3b 0d 09 0d 09 6d 65 73 |geInfo))|;....mes|
|00000900| 73 61 67 65 49 6e 66 6f | 2e 75 2e 73 65 74 46 75 |sageInfo|.u.setFu|
|00000910| 6c 6c 53 63 72 65 65 6e | 4d 65 73 73 61 67 65 2e |llScreen|Message.|
|00000920| 66 75 6c 6c 53 63 72 65 | 65 6e 20 3d 20 66 75 6c |fullScre|en = ful|
|00000930| 6c 53 63 72 65 65 6e 3b | 0d 0d 09 72 65 74 75 72 |lScreen;|...retur|
|00000940| 6e 20 43 61 6c 6c 53 6f | 75 6e 64 4a 61 6d 28 61 |n CallSo|undJam(a|
|00000950| 70 70 43 6f 6f 6b 69 65 | 2c 20 70 6c 61 79 65 72 |ppCookie|, player|
|00000960| 48 61 6e 64 6c 65 72 2c | 20 6b 50 6c 61 79 65 72 |Handler,| kPlayer|
|00000970| 53 65 74 46 75 6c 6c 53 | 63 72 65 65 6e 4d 65 73 |SetFullS|creenMes|
|00000980| 73 61 67 65 2c 20 26 6d | 65 73 73 61 67 65 49 6e |sage, &m|essageIn|
|00000990| 66 6f 29 3b 0d 7d 0d 0d | 0d 2f 2f 20 50 6c 61 79 |fo);.}..|.// Play|
|000009a0| 65 72 53 65 74 46 75 6c | 6c 53 63 72 65 65 6e 4f |erSetFul|lScreenO|
|000009b0| 70 74 69 6f 6e 73 0d 2f | 2f 0d 4f 53 53 74 61 74 |ptions./|/.OSStat|
|000009c0| 75 73 20 50 6c 61 79 65 | 72 53 65 74 46 75 6c 6c |us Playe|rSetFull|
|000009d0| 53 63 72 65 65 6e 4f 70 | 74 69 6f 6e 73 20 28 76 |ScreenOp|tions (v|
|000009e0| 6f 69 64 20 2a 61 70 70 | 43 6f 6f 6b 69 65 2c 20 |oid *app|Cookie, |
|000009f0| 53 6f 75 6e 64 4a 61 6d | 50 72 6f 63 50 74 72 20 |SoundJam|ProcPtr |
|00000a00| 70 6c 61 79 65 72 48 61 | 6e 64 6c 65 72 2c 20 53 |playerHa|ndler, S|
|00000a10| 49 6e 74 31 36 20 6d 69 | 6e 42 69 74 44 65 70 74 |Int16 mi|nBitDept|
|00000a20| 68 2c 20 53 49 6e 74 31 | 36 20 6d 61 78 42 69 74 |h, SInt1|6 maxBit|
|00000a30| 44 65 70 74 68 2c 20 53 | 49 6e 74 31 36 20 70 72 |Depth, S|Int16 pr|
|00000a40| 65 66 65 72 72 65 64 42 | 69 74 44 65 70 74 68 2c |eferredB|itDepth,|
|00000a50| 20 53 49 6e 74 31 36 20 | 64 65 73 69 72 65 64 57 | SInt16 |desiredW|
|00000a60| 69 64 74 68 2c 20 53 49 | 6e 74 31 36 20 64 65 73 |idth, SI|nt16 des|
|00000a70| 69 72 65 64 48 65 69 67 | 68 74 29 0d 7b 0d 09 50 |iredHeig|ht).{..P|
|00000a80| 6c 61 79 65 72 4d 65 73 | 73 61 67 65 49 6e 66 6f |layerMes|sageInfo|
|00000a90| 09 6d 65 73 73 61 67 65 | 49 6e 66 6f 3b 0d 09 0d |.message|Info;...|
|00000aa0| 09 4d 65 6d 43 6c 65 61 | 72 28 26 6d 65 73 73 61 |.MemClea|r(&messa|
|00000ab0| 67 65 49 6e 66 6f 2c 20 | 73 69 7a 65 6f 66 28 6d |geInfo, |sizeof(m|
|00000ac0| 65 73 73 61 67 65 49 6e | 66 6f 29 29 3b 0d 09 0d |essageIn|fo));...|
|00000ad0| 09 6d 65 73 73 61 67 65 | 49 6e 66 6f 2e 75 2e 73 |.message|Info.u.s|
|00000ae0| 65 74 46 75 6c 6c 53 63 | 72 65 65 6e 4f 70 74 69 |etFullSc|reenOpti|
|00000af0| 6f 6e 73 4d 65 73 73 61 | 67 65 2e 6d 69 6e 42 69 |onsMessa|ge.minBi|
|00000b00| 74 44 65 70 74 68 09 09 | 3d 20 6d 69 6e 42 69 74 |tDepth..|= minBit|
|00000b10| 44 65 70 74 68 3b 0d 09 | 6d 65 73 73 61 67 65 49 |Depth;..|messageI|
|00000b20| 6e 66 6f 2e 75 2e 73 65 | 74 46 75 6c 6c 53 63 72 |nfo.u.se|tFullScr|
|00000b30| 65 65 6e 4f 70 74 69 6f | 6e 73 4d 65 73 73 61 67 |eenOptio|nsMessag|
|00000b40| 65 2e 6d 61 78 42 69 74 | 44 65 70 74 68 09 09 3d |e.maxBit|Depth..=|
|00000b50| 20 6d 61 78 42 69 74 44 | 65 70 74 68 3b 0d 09 6d | maxBitD|epth;..m|
|00000b60| 65 73 73 61 67 65 49 6e | 66 6f 2e 75 2e 73 65 74 |essageIn|fo.u.set|
|00000b70| 46 75 6c 6c 53 63 72 65 | 65 6e 4f 70 74 69 6f 6e |FullScre|enOption|
|00000b80| 73 4d 65 73 73 61 67 65 | 2e 70 72 65 66 65 72 72 |sMessage|.preferr|
|00000b90| 65 64 42 69 74 44 65 70 | 74 68 20 3d 20 70 72 65 |edBitDep|th = pre|
|00000ba0| 66 65 72 72 65 64 42 69 | 74 44 65 70 74 68 3b 0d |ferredBi|tDepth;.|
|00000bb0| 09 6d 65 73 73 61 67 65 | 49 6e 66 6f 2e 75 2e 73 |.message|Info.u.s|
|00000bc0| 65 74 46 75 6c 6c 53 63 | 72 65 65 6e 4f 70 74 69 |etFullSc|reenOpti|
|00000bd0| 6f 6e 73 4d 65 73 73 61 | 67 65 2e 64 65 73 69 72 |onsMessa|ge.desir|
|00000be0| 65 64 57 69 64 74 68 09 | 09 3d 20 64 65 73 69 72 |edWidth.|.= desir|
|00000bf0| 65 64 57 69 64 74 68 3b | 0d 09 6d 65 73 73 61 67 |edWidth;|..messag|
|00000c00| 65 49 6e 66 6f 2e 75 2e | 73 65 74 46 75 6c 6c 53 |eInfo.u.|setFullS|
|00000c10| 63 72 65 65 6e 4f 70 74 | 69 6f 6e 73 4d 65 73 73 |creenOpt|ionsMess|
|00000c20| 61 67 65 2e 64 65 73 69 | 72 65 64 48 65 69 67 68 |age.desi|redHeigh|
|00000c30| 74 09 09 3d 20 64 65 73 | 69 72 65 64 48 65 69 67 |t..= des|iredHeig|
|00000c40| 68 74 3b 0d 0d 09 72 65 | 74 75 72 6e 20 43 61 6c |ht;...re|turn Cal|
|00000c50| 6c 53 6f 75 6e 64 4a 61 | 6d 28 61 70 70 43 6f 6f |lSoundJa|m(appCoo|
|00000c60| 6b 69 65 2c 20 70 6c 61 | 79 65 72 48 61 6e 64 6c |kie, pla|yerHandl|
|00000c70| 65 72 2c 20 6b 50 6c 61 | 79 65 72 53 65 74 46 75 |er, kPla|yerSetFu|
|00000c80| 6c 6c 53 63 72 65 65 6e | 4f 70 74 69 6f 6e 73 4d |llScreen|OptionsM|
|00000c90| 65 73 73 61 67 65 2c 20 | 26 6d 65 73 73 61 67 65 |essage, |&message|
|00000ca0| 49 6e 66 6f 29 3b 0d 7d | 0d 0d 0d 2f 2f 20 50 6c |Info);.}|...// Pl|
|00000cb0| 61 79 65 72 53 65 74 44 | 65 66 61 75 6c 74 57 69 |ayerSetD|efaultWi|
|00000cc0| 6e 64 6f 77 53 69 7a 65 | 0d 2f 2f 0d 4f 53 53 74 |ndowSize|.//.OSSt|
|00000cd0| 61 74 75 73 20 50 6c 61 | 79 65 72 53 65 74 44 65 |atus Pla|yerSetDe|
|00000ce0| 66 61 75 6c 74 57 69 6e | 64 6f 77 53 69 7a 65 20 |faultWin|dowSize |
|00000cf0| 28 09 76 6f 69 64 20 2a | 09 09 09 61 70 70 43 6f |(.void *|...appCo|
|00000d00| 6f 6b 69 65 2c 0d 09 09 | 09 09 09 09 09 09 09 09 |okie,...|........|
|00000d10| 53 6f 75 6e 64 4a 61 6d | 50 72 6f 63 50 74 72 09 |SoundJam|ProcPtr.|
|00000d20| 70 6c 61 79 65 72 48 61 | 6e 64 6c 65 72 2c 0d 09 |playerHa|ndler,..|
|00000d30| 09 09 09 09 09 09 09 09 | 09 53 49 6e 74 31 36 09 |........|.SInt16.|
|00000d40| 09 09 64 65 66 61 75 6c | 74 57 69 64 74 68 2c 0d |..defaul|tWidth,.|
|00000d50| 09 09 09 09 09 09 09 09 | 09 09 53 49 6e 74 31 36 |........|..SInt16|
|00000d60| 09 09 09 64 65 66 61 75 | 6c 74 48 65 69 67 68 74 |...defau|ltHeight|
|00000d70| 2c 0d 09 09 09 09 09 09 | 09 09 09 09 53 49 6e 74 |,.......|....SInt|
|00000d80| 31 36 09 09 09 6d 69 6e | 57 69 64 74 68 2c 0d 09 |16...min|Width,..|
|00000d90| 09 09 09 09 09 09 09 09 | 09 53 49 6e 74 31 36 09 |........|.SInt16.|
|00000da0| 09 09 6d 69 6e 48 65 69 | 67 68 74 2c 0d 09 09 09 |..minHei|ght,....|
|00000db0| 09 09 09 09 09 09 09 53 | 49 6e 74 31 36 09 09 09 |.......S|Int16...|
|00000dc0| 6d 61 78 57 69 64 74 68 | 2c 0d 09 09 09 09 09 09 |maxWidth|,.......|
|00000dd0| 09 09 09 09 53 49 6e 74 | 31 36 09 09 09 6d 61 78 |....SInt|16...max|
|00000de0| 48 65 69 67 68 74 29 0d | 7b 0d 09 50 6c 61 79 65 |Height).|{..Playe|
|00000df0| 72 4d 65 73 73 61 67 65 | 49 6e 66 6f 09 6d 65 73 |rMessage|Info.mes|
|00000e00| 73 61 67 65 49 6e 66 6f | 3b 0d 09 0d 09 4d 65 6d |sageInfo|;....Mem|
|00000e10| 43 6c 65 61 72 28 26 6d | 65 73 73 61 67 65 49 6e |Clear(&m|essageIn|
|00000e20| 66 6f 2c 20 73 69 7a 65 | 6f 66 28 6d 65 73 73 61 |fo, size|of(messa|
|00000e30| 67 65 49 6e 66 6f 29 29 | 3b 0d 09 0d 09 6d 65 73 |geInfo))|;....mes|
|00000e40| 73 61 67 65 49 6e 66 6f | 2e 75 2e 73 65 74 44 65 |sageInfo|.u.setDe|
|00000e50| 66 61 75 6c 74 57 69 6e | 64 6f 77 53 69 7a 65 4d |faultWin|dowSizeM|
|00000e60| 65 73 73 61 67 65 2e 64 | 65 66 61 75 6c 74 57 69 |essage.d|efaultWi|
|00000e70| 64 74 68 09 3d 20 64 65 | 66 61 75 6c 74 57 69 64 |dth.= de|faultWid|
|00000e80| 74 68 3b 0d 09 6d 65 73 | 73 61 67 65 49 6e 66 6f |th;..mes|sageInfo|
|00000e90| 2e 75 2e 73 65 74 44 65 | 66 61 75 6c 74 57 69 6e |.u.setDe|faultWin|
|00000ea0| 64 6f 77 53 69 7a 65 4d | 65 73 73 61 67 65 2e 64 |dowSizeM|essage.d|
|00000eb0| 65 66 61 75 6c 74 48 65 | 69 67 68 74 09 3d 20 64 |efaultHe|ight.= d|
|00000ec0| 65 66 61 75 6c 74 48 65 | 69 67 68 74 3b 0d 0d 09 |efaultHe|ight;...|
|00000ed0| 6d 65 73 73 61 67 65 49 | 6e 66 6f 2e 75 2e 73 65 |messageI|nfo.u.se|
|00000ee0| 74 44 65 66 61 75 6c 74 | 57 69 6e 64 6f 77 53 69 |tDefault|WindowSi|
|00000ef0| 7a 65 4d 65 73 73 61 67 | 65 2e 6d 69 6e 57 69 64 |zeMessag|e.minWid|
|00000f00| 74 68 09 09 3d 20 6d 69 | 6e 57 69 64 74 68 3b 0d |th..= mi|nWidth;.|
|00000f10| 09 6d 65 73 73 61 67 65 | 49 6e 66 6f 2e 75 2e 73 |.message|Info.u.s|
|00000f20| 65 74 44 65 66 61 75 6c | 74 57 69 6e 64 6f 77 53 |etDefaul|tWindowS|
|00000f30| 69 7a 65 4d 65 73 73 61 | 67 65 2e 6d 69 6e 48 65 |izeMessa|ge.minHe|
|00000f40| 69 67 68 74 09 09 3d 20 | 6d 69 6e 48 65 69 67 68 |ight..= |minHeigh|
|00000f50| 74 3b 0d 0d 09 6d 65 73 | 73 61 67 65 49 6e 66 6f |t;...mes|sageInfo|
|00000f60| 2e 75 2e 73 65 74 44 65 | 66 61 75 6c 74 57 69 6e |.u.setDe|faultWin|
|00000f70| 64 6f 77 53 69 7a 65 4d | 65 73 73 61 67 65 2e 6d |dowSizeM|essage.m|
|00000f80| 61 78 57 69 64 74 68 09 | 09 3d 20 6d 61 78 57 69 |axWidth.|.= maxWi|
|00000f90| 64 74 68 3b 0d 09 6d 65 | 73 73 61 67 65 49 6e 66 |dth;..me|ssageInf|
|00000fa0| 6f 2e 75 2e 73 65 74 44 | 65 66 61 75 6c 74 57 69 |o.u.setD|efaultWi|
|00000fb0| 6e 64 6f 77 53 69 7a 65 | 4d 65 73 73 61 67 65 2e |ndowSize|Message.|
|00000fc0| 6d 61 78 48 65 69 67 68 | 74 09 09 3d 20 6d 61 78 |maxHeigh|t..= max|
|00000fd0| 48 65 69 67 68 74 3b 0d | 0d 09 72 65 74 75 72 6e |Height;.|..return|
|00000fe0| 20 43 61 6c 6c 53 6f 75 | 6e 64 4a 61 6d 28 61 70 | CallSou|ndJam(ap|
|00000ff0| 70 43 6f 6f 6b 69 65 2c | 20 70 6c 61 79 65 72 48 |pCookie,| playerH|
|00001000| 61 6e 64 6c 65 72 2c 20 | 6b 50 6c 61 79 65 72 53 |andler, |kPlayerS|
|00001010| 65 74 44 65 66 61 75 6c | 74 57 69 6e 64 6f 77 53 |etDefaul|tWindowS|
|00001020| 69 7a 65 4d 65 73 73 61 | 67 65 2c 20 26 6d 65 73 |izeMessa|ge, &mes|
|00001030| 73 61 67 65 49 6e 66 6f | 29 3b 0d 7d 0d 0d 0d 2f |sageInfo|);.}.../|
|00001040| 2f 20 50 6c 61 79 65 72 | 53 68 6f 77 48 69 64 65 |/ Player|ShowHide|
|00001050| 45 51 57 69 6e 64 6f 77 | 0d 2f 2f 0d 76 6f 69 64 |EQWindow|.//.void|
|00001060| 20 50 6c 61 79 65 72 53 | 68 6f 77 48 69 64 65 45 | PlayerS|howHideE|
|00001070| 51 57 69 6e 64 6f 77 20 | 28 76 6f 69 64 20 2a 61 |QWindow |(void *a|
|00001080| 70 70 43 6f 6f 6b 69 65 | 2c 20 53 6f 75 6e 64 4a |ppCookie|, SoundJ|
|00001090| 61 6d 50 72 6f 63 50 74 | 72 20 70 6c 61 79 65 72 |amProcPt|r player|
|000010a0| 48 61 6e 64 6c 65 72 2c | 20 42 6f 6f 6c 65 61 6e |Handler,| Boolean|
|000010b0| 20 73 68 6f 77 57 69 6e | 64 6f 77 29 0d 7b 0d 09 | showWin|dow).{..|
|000010c0| 50 6c 61 79 65 72 4d 65 | 73 73 61 67 65 49 6e 66 |PlayerMe|ssageInf|
|000010d0| 6f 09 6d 65 73 73 61 67 | 65 49 6e 66 6f 3b 0d 09 |o.messag|eInfo;..|
|000010e0| 0d 09 4d 65 6d 43 6c 65 | 61 72 28 26 6d 65 73 73 |..MemCle|ar(&mess|
|000010f0| 61 67 65 49 6e 66 6f 2c | 20 73 69 7a 65 6f 66 28 |ageInfo,| sizeof(|
|00001100| 6d 65 73 73 61 67 65 49 | 6e 66 6f 29 29 3b 0d 09 |messageI|nfo));..|
|00001110| 0d 09 6d 65 73 73 61 67 | 65 49 6e 66 6f 2e 75 2e |..messag|eInfo.u.|
|00001120| 73 68 6f 77 48 69 64 65 | 4d 65 73 73 61 67 65 2e |showHide|Message.|
|00001130| 73 68 6f 77 57 69 6e 64 | 6f 77 20 3d 20 73 68 6f |showWind|ow = sho|
|00001140| 77 57 69 6e 64 6f 77 3b | 0d 0d 09 28 76 6f 69 64 |wWindow;|...(void|
|00001150| 29 20 43 61 6c 6c 53 6f | 75 6e 64 4a 61 6d 28 61 |) CallSo|undJam(a|
|00001160| 70 70 43 6f 6f 6b 69 65 | 2c 20 70 6c 61 79 65 72 |ppCookie|, player|
|00001170| 48 61 6e 64 6c 65 72 2c | 20 6b 50 6c 61 79 65 72 |Handler,| kPlayer|
|00001180| 53 68 6f 77 48 69 64 65 | 45 51 4d 65 73 73 61 67 |ShowHide|EQMessag|
|00001190| 65 2c 20 26 6d 65 73 73 | 61 67 65 49 6e 66 6f 29 |e, &mess|ageInfo)|
|000011a0| 3b 0d 7d 0d 0d 0d 2f 2f | 20 50 6c 61 79 65 72 53 |;.}...//| PlayerS|
|000011b0| 68 6f 77 48 69 64 65 50 | 6c 61 79 6c 69 73 74 57 |howHideP|laylistW|
|000011c0| 69 6e 64 6f 77 0d 2f 2f | 0d 76 6f 69 64 20 50 6c |indow.//|.void Pl|
|000011d0| 61 79 65 72 53 68 6f 77 | 48 69 64 65 50 6c 61 79 |ayerShow|HidePlay|
|000011e0| 6c 69 73 74 57 69 6e 64 | 6f 77 20 28 76 6f 69 64 |listWind|ow (void|
|000011f0| 20 2a 61 70 70 43 6f 6f | 6b 69 65 2c 20 53 6f 75 | *appCoo|kie, Sou|
|00001200| 6e 64 4a 61 6d 50 72 6f | 63 50 74 72 20 70 6c 61 |ndJamPro|cPtr pla|
|00001210| 79 65 72 48 61 6e 64 6c | 65 72 2c 20 42 6f 6f 6c |yerHandl|er, Bool|
|00001220| 65 61 6e 20 73 68 6f 77 | 57 69 6e 64 6f 77 29 0d |ean show|Window).|
|00001230| 7b 0d 09 50 6c 61 79 65 | 72 4d 65 73 73 61 67 65 |{..Playe|rMessage|
|00001240| 49 6e 66 6f 09 6d 65 73 | 73 61 67 65 49 6e 66 6f |Info.mes|sageInfo|
|00001250| 3b 0d 09 0d 09 4d 65 6d | 43 6c 65 61 72 28 26 6d |;....Mem|Clear(&m|
|00001260| 65 73 73 61 67 65 49 6e | 66 6f 2c 20 73 69 7a 65 |essageIn|fo, size|
|00001270| 6f 66 28 6d 65 73 73 61 | 67 65 49 6e 66 6f 29 29 |of(messa|geInfo))|
|00001280| 3b 0d 09 0d 09 6d 65 73 | 73 61 67 65 49 6e 66 6f |;....mes|sageInfo|
|00001290| 2e 75 2e 73 68 6f 77 48 | 69 64 65 4d 65 73 73 61 |.u.showH|ideMessa|
|000012a0| 67 65 2e 73 68 6f 77 57 | 69 6e 64 6f 77 20 3d 20 |ge.showW|indow = |
|000012b0| 73 68 6f 77 57 69 6e 64 | 6f 77 3b 0d 0d 09 28 76 |showWind|ow;...(v|
|000012c0| 6f 69 64 29 20 43 61 6c | 6c 53 6f 75 6e 64 4a 61 |oid) Cal|lSoundJa|
|000012d0| 6d 28 61 70 70 43 6f 6f | 6b 69 65 2c 20 70 6c 61 |m(appCoo|kie, pla|
|000012e0| 79 65 72 48 61 6e 64 6c | 65 72 2c 20 6b 50 6c 61 |yerHandl|er, kPla|
|000012f0| 79 65 72 53 68 6f 77 48 | 69 64 65 50 6c 61 79 6c |yerShowH|idePlayl|
|00001300| 69 73 74 4d 65 73 73 61 | 67 65 2c 20 26 6d 65 73 |istMessa|ge, &mes|
|00001310| 73 61 67 65 49 6e 66 6f | 29 3b 0d 7d 0d 0d 0d 2f |sageInfo|);.}.../|
|00001320| 2f 20 50 6c 61 79 65 72 | 44 72 61 67 57 69 6e 64 |/ Player|DragWind|
|00001330| 6f 77 0d 2f 2f 0d 76 6f | 69 64 20 50 6c 61 79 65 |ow.//.vo|id Playe|
|00001340| 72 44 72 61 67 57 69 6e | 64 6f 77 20 28 76 6f 69 |rDragWin|dow (voi|
|00001350| 64 20 2a 61 70 70 43 6f | 6f 6b 69 65 2c 20 53 6f |d *appCo|okie, So|
|00001360| 75 6e 64 4a 61 6d 50 72 | 6f 63 50 74 72 20 70 6c |undJamPr|ocPtr pl|
|00001370| 61 79 65 72 48 61 6e 64 | 6c 65 72 2c 20 57 69 6e |ayerHand|ler, Win|
|00001380| 64 6f 77 50 74 72 20 77 | 69 6e 64 6f 77 2c 20 50 |dowPtr w|indow, P|
|00001390| 6f 69 6e 74 20 67 6c 6f | 62 61 6c 57 68 65 72 65 |oint glo|balWhere|
|000013a0| 29 0d 7b 0d 09 50 6c 61 | 79 65 72 4d 65 73 73 61 |).{..Pla|yerMessa|
|000013b0| 67 65 49 6e 66 6f 09 6d | 65 73 73 61 67 65 49 6e |geInfo.m|essageIn|
|000013c0| 66 6f 3b 0d 09 0d 09 4d | 65 6d 43 6c 65 61 72 28 |fo;....M|emClear(|
|000013d0| 26 6d 65 73 73 61 67 65 | 49 6e 66 6f 2c 20 73 69 |&message|Info, si|
|000013e0| 7a 65 6f 66 28 6d 65 73 | 73 61 67 65 49 6e 66 6f |zeof(mes|sageInfo|
|000013f0| 29 29 3b 0d 09 0d 09 6d | 65 73 73 61 67 65 49 6e |));....m|essageIn|
|00001400| 66 6f 2e 75 2e 64 72 61 | 67 57 69 6e 64 6f 77 4d |fo.u.dra|gWindowM|
|00001410| 65 73 73 61 67 65 2e 77 | 69 6e 64 6f 77 09 09 3d |essage.w|indow..=|
|00001420| 20 77 69 6e 64 6f 77 3b | 0d 09 6d 65 73 73 61 67 | window;|..messag|
|00001430| 65 49 6e 66 6f 2e 75 2e | 64 72 61 67 57 69 6e 64 |eInfo.u.|dragWind|
|00001440| 6f 77 4d 65 73 73 61 67 | 65 2e 67 6c 6f 62 61 6c |owMessag|e.global|
|00001450| 57 68 65 72 65 09 3d 20 | 67 6c 6f 62 61 6c 57 68 |Where.= |globalWh|
|00001460| 65 72 65 3b 0d 09 0d 09 | 43 61 6c 6c 53 6f 75 6e |ere;....|CallSoun|
|00001470| 64 4a 61 6d 28 61 70 70 | 43 6f 6f 6b 69 65 2c 20 |dJam(app|Cookie, |
|00001480| 70 6c 61 79 65 72 48 61 | 6e 64 6c 65 72 2c 20 6b |playerHa|ndler, k|
|00001490| 50 6c 61 79 65 72 44 72 | 61 67 57 69 6e 64 6f 77 |PlayerDr|agWindow|
|000014a0| 4d 65 73 73 61 67 65 2c | 20 26 6d 65 73 73 61 67 |Message,| &messag|
|000014b0| 65 49 6e 66 6f 29 3b 0d | 7d 0d 0d 0d 2f 2f 20 50 |eInfo);.|}...// P|
|000014c0| 6c 61 79 65 72 47 65 74 | 50 6c 75 67 69 6e 44 61 |layerGet|PluginDa|
|000014d0| 74 61 0d 2f 2f 0d 4f 53 | 53 74 61 74 75 73 20 50 |ta.//.OS|Status P|
|000014e0| 6c 61 79 65 72 47 65 74 | 50 6c 75 67 69 6e 44 61 |layerGet|PluginDa|
|000014f0| 74 61 20 28 76 6f 69 64 | 20 2a 61 70 70 43 6f 6f |ta (void| *appCoo|
|00001500| 6b 69 65 2c 20 53 6f 75 | 6e 64 4a 61 6d 50 72 6f |kie, Sou|ndJamPro|
|00001510| 63 50 74 72 20 70 6c 61 | 79 65 72 48 61 6e 64 6c |cPtr pla|yerHandl|
|00001520| 65 72 2c 20 76 6f 69 64 | 20 2a 64 61 74 61 50 74 |er, void| *dataPt|
|00001530| 72 2c 20 55 49 6e 74 33 | 32 20 64 61 74 61 42 75 |r, UInt3|2 dataBu|
|00001540| 66 66 65 72 53 69 7a 65 | 2c 20 55 49 6e 74 33 32 |fferSize|, UInt32|
|00001550| 20 2a 64 61 74 61 53 69 | 7a 65 29 0d 7b 0d 09 4f | *dataSi|ze).{..O|
|00001560| 53 53 74 61 74 75 73 09 | 09 09 73 74 61 74 75 73 |SStatus.|..status|
|00001570| 3b 0d 09 50 6c 61 79 65 | 72 4d 65 73 73 61 67 65 |;..Playe|rMessage|
|00001580| 49 6e 66 6f 09 6d 65 73 | 73 61 67 65 49 6e 66 6f |Info.mes|sageInfo|
|00001590| 3b 0d 09 0d 09 4d 65 6d | 43 6c 65 61 72 28 26 6d |;....Mem|Clear(&m|
|000015a0| 65 73 73 61 67 65 49 6e | 66 6f 2c 20 73 69 7a 65 |essageIn|fo, size|
|000015b0| 6f 66 28 6d 65 73 73 61 | 67 65 49 6e 66 6f 29 29 |of(messa|geInfo))|
|000015c0| 3b 0d 09 0d 09 6d 65 73 | 73 61 67 65 49 6e 66 6f |;....mes|sageInfo|
|000015d0| 2e 75 2e 67 65 74 50 6c | 75 67 69 6e 44 61 74 61 |.u.getPl|uginData|
|000015e0| 4d 65 73 73 61 67 65 2e | 64 61 74 61 50 74 72 09 |Message.|dataPtr.|
|000015f0| 09 09 3d 20 64 61 74 61 | 50 74 72 3b 0d 09 6d 65 |..= data|Ptr;..me|
|00001600| 73 73 61 67 65 49 6e 66 | 6f 2e 75 2e 67 65 74 50 |ssageInf|o.u.getP|
|00001610| 6c 75 67 69 6e 44 61 74 | 61 4d 65 73 73 61 67 65 |luginDat|aMessage|
|00001620| 2e 64 61 74 61 42 75 66 | 66 65 72 53 69 7a 65 09 |.dataBuf|ferSize.|
|00001630| 3d 20 64 61 74 61 42 75 | 66 66 65 72 53 69 7a 65 |= dataBu|fferSize|
|00001640| 3b 0d 09 0d 09 73 74 61 | 74 75 73 20 3d 20 43 61 |;....sta|tus = Ca|
|00001650| 6c 6c 53 6f 75 6e 64 4a | 61 6d 28 61 70 70 43 6f |llSoundJ|am(appCo|
|00001660| 6f 6b 69 65 2c 20 70 6c | 61 79 65 72 48 61 6e 64 |okie, pl|ayerHand|
|00001670| 6c 65 72 2c 20 6b 50 6c | 61 79 65 72 47 65 74 50 |ler, kPl|ayerGetP|
|00001680| 6c 75 67 69 6e 44 61 74 | 61 4d 65 73 73 61 67 65 |luginDat|aMessage|
|00001690| 2c 20 26 6d 65 73 73 61 | 67 65 49 6e 66 6f 29 3b |, &messa|geInfo);|
|000016a0| 0d 09 0d 09 69 66 20 28 | 64 61 74 61 53 69 7a 65 |....if (|dataSize|
|000016b0| 20 21 3d 20 6e 69 6c 29 | 0d 09 09 2a 64 61 74 61 | != nil)|...*data|
|000016c0| 53 69 7a 65 20 3d 20 6d | 65 73 73 61 67 65 49 6e |Size = m|essageIn|
|000016d0| 66 6f 2e 75 2e 67 65 74 | 50 6c 75 67 69 6e 44 61 |fo.u.get|PluginDa|
|000016e0| 74 61 4d 65 73 73 61 67 | 65 2e 64 61 74 61 53 69 |taMessag|e.dataSi|
|000016f0| 7a 65 3b 0d 09 0d 09 72 | 65 74 75 72 6e 20 73 74 |ze;....r|eturn st|
|00001700| 61 74 75 73 3b 0d 7d 0d | 0d 0d 2f 2f 20 50 6c 61 |atus;.}.|..// Pla|
|00001710| 79 65 72 53 65 74 50 6c | 75 67 69 6e 44 61 74 61 |yerSetPl|uginData|
|00001720| 0d 2f 2f 0d 4f 53 53 74 | 61 74 75 73 20 50 6c 61 |.//.OSSt|atus Pla|
|00001730| 79 65 72 53 65 74 50 6c | 75 67 69 6e 44 61 74 61 |yerSetPl|uginData|
|00001740| 20 28 76 6f 69 64 20 2a | 61 70 70 43 6f 6f 6b 69 | (void *|appCooki|
|00001750| 65 2c 20 53 6f 75 6e 64 | 4a 61 6d 50 72 6f 63 50 |e, Sound|JamProcP|
|00001760| 74 72 20 70 6c 61 79 65 | 72 48 61 6e 64 6c 65 72 |tr playe|rHandler|
|00001770| 2c 20 76 6f 69 64 20 2a | 64 61 74 61 50 74 72 2c |, void *|dataPtr,|
|00001780| 20 55 49 6e 74 33 32 20 | 64 61 74 61 53 69 7a 65 | UInt32 |dataSize|
|00001790| 29 0d 7b 0d 09 50 6c 61 | 79 65 72 4d 65 73 73 61 |).{..Pla|yerMessa|
|000017a0| 67 65 49 6e 66 6f 09 6d | 65 73 73 61 67 65 49 6e |geInfo.m|essageIn|
|000017b0| 66 6f 3b 0d 09 0d 09 4d | 65 6d 43 6c 65 61 72 28 |fo;....M|emClear(|
|000017c0| 26 6d 65 73 73 61 67 65 | 49 6e 66 6f 2c 20 73 69 |&message|Info, si|
|000017d0| 7a 65 6f 66 28 6d 65 73 | 73 61 67 65 49 6e 66 6f |zeof(mes|sageInfo|
|000017e0| 29 29 3b 0d 09 0d 09 6d | 65 73 73 61 67 65 49 6e |));....m|essageIn|
|000017f0| 66 6f 2e 75 2e 73 65 74 | 50 6c 75 67 69 6e 44 61 |fo.u.set|PluginDa|
|00001800| 74 61 4d 65 73 73 61 67 | 65 2e 64 61 74 61 50 74 |taMessag|e.dataPt|
|00001810| 72 09 3d 20 64 61 74 61 | 50 74 72 3b 0d 09 6d 65 |r.= data|Ptr;..me|
|00001820| 73 73 61 67 65 49 6e 66 | 6f 2e 75 2e 73 65 74 50 |ssageInf|o.u.setP|
|00001830| 6c 75 67 69 6e 44 61 74 | 61 4d 65 73 73 61 67 65 |luginDat|aMessage|
|00001840| 2e 64 61 74 61 53 69 7a | 65 09 3d 20 64 61 74 61 |.dataSiz|e.= data|
|00001850| 53 69 7a 65 3b 0d 09 0d | 09 72 65 74 75 72 6e 20 |Size;...|.return |
|00001860| 43 61 6c 6c 53 6f 75 6e | 64 4a 61 6d 28 61 70 70 |CallSoun|dJam(app|
|00001870| 43 6f 6f 6b 69 65 2c 20 | 70 6c 61 79 65 72 48 61 |Cookie, |playerHa|
|00001880| 6e 64 6c 65 72 2c 20 6b | 50 6c 61 79 65 72 53 65 |ndler, k|PlayerSe|
|00001890| 74 50 6c 75 67 69 6e 44 | 61 74 61 4d 65 73 73 61 |tPluginD|ataMessa|
|000018a0| 67 65 2c 20 26 6d 65 73 | 73 61 67 65 49 6e 66 6f |ge, &mes|sageInfo|
|000018b0| 29 3b 0d 7d 0d 0d 0d 2f | 2f 20 50 6c 61 79 65 72 |);.}.../|/ Player|
|000018c0| 49 64 6c 65 0d 2f 2f 0d | 4f 53 53 74 61 74 75 73 |Idle.//.|OSStatus|
|000018d0| 20 50 6c 61 79 65 72 49 | 64 6c 65 20 28 76 6f 69 | PlayerI|dle (voi|
|000018e0| 64 20 2a 61 70 70 43 6f | 6f 6b 69 65 2c 20 53 6f |d *appCo|okie, So|
|000018f0| 75 6e 64 4a 61 6d 50 72 | 6f 63 50 74 72 20 70 6c |undJamPr|ocPtr pl|
|00001900| 61 79 65 72 48 61 6e 64 | 6c 65 72 29 0d 7b 0d 09 |ayerHand|ler).{..|
|00001910| 72 65 74 75 72 6e 20 43 | 61 6c 6c 53 6f 75 6e 64 |return C|allSound|
|00001920| 4a 61 6d 28 61 70 70 43 | 6f 6f 6b 69 65 2c 20 70 |Jam(appC|ookie, p|
|00001930| 6c 61 79 65 72 48 61 6e | 64 6c 65 72 2c 20 6b 50 |layerHan|dler, kP|
|00001940| 6c 61 79 65 72 49 64 6c | 65 4d 65 73 73 61 67 65 |layerIdl|eMessage|
|00001950| 2c 20 6e 69 6c 29 3b 0d | 7d 0d 0d 0d 4f 53 53 74 |, nil);.|}...OSSt|
|00001960| 61 74 75 73 20 50 6c 61 | 79 65 72 44 6f 6e 65 54 |atus Pla|yerDoneT|
|00001970| 72 61 63 6b 20 28 76 6f | 69 64 20 2a 61 70 70 43 |rack (vo|id *appC|
|00001980| 6f 6f 6b 69 65 2c 20 53 | 6f 75 6e 64 4a 61 6d 50 |ookie, S|oundJamP|
|00001990| 72 6f 63 50 74 72 20 70 | 6c 61 79 65 72 48 61 6e |rocPtr p|layerHan|
|000019a0| 64 6c 65 72 29 0d 7b 0d | 09 72 65 74 75 72 6e 20 |dler).{.|.return |
|000019b0| 43 61 6c 6c 53 6f 75 6e | 64 4a 61 6d 28 61 70 70 |CallSoun|dJam(app|
|000019c0| 43 6f 6f 6b 69 65 2c 20 | 70 6c 61 79 65 72 48 61 |Cookie, |playerHa|
|000019d0| 6e 64 6c 65 72 2c 20 6b | 50 6c 61 79 65 72 44 6f |ndler, k|PlayerDo|
|000019e0| 6e 65 54 72 61 63 6b 4d | 65 73 73 61 67 65 2c 20 |neTrackM|essage, |
|000019f0| 6e 69 6c 29 3b 0d 7d 0d | 0d 0d 2f 2f 20 50 6c 61 |nil);.}.|..// Pla|
|00001a00| 79 65 72 50 6c 61 79 54 | 72 61 63 6b 0d 2f 2f 0d |yerPlayT|rack.//.|
|00001a10| 4f 53 53 74 61 74 75 73 | 20 50 6c 61 79 65 72 50 |OSStatus| PlayerP|
|00001a20| 6c 61 79 54 72 61 63 6b | 20 28 76 6f 69 64 20 2a |layTrack| (void *|
|00001a30| 61 70 70 43 6f 6f 6b 69 | 65 2c 20 53 6f 75 6e 64 |appCooki|e, Sound|
|00001a40| 4a 61 6d 50 72 6f 63 50 | 74 72 20 70 6c 61 79 65 |JamProcP|tr playe|
|00001a50| 72 48 61 6e 64 6c 65 72 | 29 0d 7b 0d 09 72 65 74 |rHandler|).{..ret|
|00001a60| 75 72 6e 20 43 61 6c 6c | 53 6f 75 6e 64 4a 61 6d |urn Call|SoundJam|
|00001a70| 28 61 70 70 43 6f 6f 6b | 69 65 2c 20 70 6c 61 79 |(appCook|ie, play|
|00001a80| 65 72 48 61 6e 64 6c 65 | 72 2c 20 6b 50 6c 61 79 |erHandle|r, kPlay|
|00001a90| 65 72 50 6c 61 79 54 72 | 61 63 6b 4d 65 73 73 61 |erPlayTr|ackMessa|
|00001aa0| 67 65 2c 20 6e 69 6c 29 | 3b 0d 7d 0d 0d 0d 2f 2f |ge, nil)|;.}...//|
|00001ab0| 20 50 6c 61 79 65 72 53 | 74 6f 70 54 72 61 63 6b | PlayerS|topTrack|
|00001ac0| 0d 2f 2f 0d 4f 53 53 74 | 61 74 75 73 20 50 6c 61 |.//.OSSt|atus Pla|
|00001ad0| 79 65 72 53 74 6f 70 54 | 72 61 63 6b 20 28 76 6f |yerStopT|rack (vo|
|00001ae0| 69 64 20 2a 61 70 70 43 | 6f 6f 6b 69 65 2c 20 53 |id *appC|ookie, S|
|00001af0| 6f 75 6e 64 4a 61 6d 50 | 72 6f 63 50 74 72 20 70 |oundJamP|rocPtr p|
|00001b00| 6c 61 79 65 72 48 61 6e | 64 6c 65 72 29 0d 7b 0d |layerHan|dler).{.|
|00001b10| 09 72 65 74 75 72 6e 20 | 43 61 6c 6c 53 6f 75 6e |.return |CallSoun|
|00001b20| 64 4a 61 6d 28 61 70 70 | 43 6f 6f 6b 69 65 2c 20 |dJam(app|Cookie, |
|00001b30| 70 6c 61 79 65 72 48 61 | 6e 64 6c 65 72 2c 20 6b |playerHa|ndler, k|
|00001b40| 50 6c 61 79 65 72 53 74 | 6f 70 54 72 61 63 6b 4d |PlayerSt|opTrackM|
|00001b50| 65 73 73 61 67 65 2c 20 | 6e 69 6c 29 3b 0d 7d 0d |essage, |nil);.}.|
|00001b60| 0d 0d 2f 2f 20 50 6c 61 | 79 65 72 50 61 75 73 65 |..// Pla|yerPause|
|00001b70| 54 72 61 63 6b 0d 2f 2f | 0d 4f 53 53 74 61 74 75 |Track.//|.OSStatu|
|00001b80| 73 20 50 6c 61 79 65 72 | 50 61 75 73 65 54 72 61 |s Player|PauseTra|
|00001b90| 63 6b 20 28 76 6f 69 64 | 20 2a 61 70 70 43 6f 6f |ck (void| *appCoo|
|00001ba0| 6b 69 65 2c 20 53 6f 75 | 6e 64 4a 61 6d 50 72 6f |kie, Sou|ndJamPro|
|00001bb0| 63 50 74 72 20 70 6c 61 | 79 65 72 48 61 6e 64 6c |cPtr pla|yerHandl|
|00001bc0| 65 72 29 0d 7b 0d 09 72 | 65 74 75 72 6e 20 43 61 |er).{..r|eturn Ca|
|00001bd0| 6c 6c 53 6f 75 6e 64 4a | 61 6d 28 61 70 70 43 6f |llSoundJ|am(appCo|
|00001be0| 6f 6b 69 65 2c 20 70 6c | 61 79 65 72 48 61 6e 64 |okie, pl|ayerHand|
|00001bf0| 6c 65 72 2c 20 6b 50 6c | 61 79 65 72 50 61 75 73 |ler, kPl|ayerPaus|
|00001c00| 65 54 72 61 63 6b 4d 65 | 73 73 61 67 65 2c 20 6e |eTrackMe|ssage, n|
|00001c10| 69 6c 29 3b 0d 7d 0d 0d | 0d 2f 2f 20 50 6c 61 79 |il);.}..|.// Play|
|00001c20| 65 72 4e 65 78 74 54 72 | 61 63 6b 0d 2f 2f 0d 4f |erNextTr|ack.//.O|
|00001c30| 53 53 74 61 74 75 73 20 | 50 6c 61 79 65 72 4e 65 |SStatus |PlayerNe|
|00001c40| 78 74 54 72 61 63 6b 20 | 28 76 6f 69 64 20 2a 61 |xtTrack |(void *a|
|00001c50| 70 70 43 6f 6f 6b 69 65 | 2c 20 53 6f 75 6e 64 4a |ppCookie|, SoundJ|
|00001c60| 61 6d 50 72 6f 63 50 74 | 72 20 70 6c 61 79 65 72 |amProcPt|r player|
|00001c70| 48 61 6e 64 6c 65 72 29 | 0d 7b 0d 09 72 65 74 75 |Handler)|.{..retu|
|00001c80| 72 6e 20 43 61 6c 6c 53 | 6f 75 6e 64 4a 61 6d 28 |rn CallS|oundJam(|
|00001c90| 61 70 70 43 6f 6f 6b 69 | 65 2c 20 70 6c 61 79 65 |appCooki|e, playe|
|00001ca0| 72 48 61 6e 64 6c 65 72 | 2c 20 6b 50 6c 61 79 65 |rHandler|, kPlaye|
|00001cb0| 72 4e 65 78 74 54 72 61 | 63 6b 4d 65 73 73 61 67 |rNextTra|ckMessag|
|00001cc0| 65 2c 20 6e 69 6c 29 3b | 0d 7d 0d 0d 0d 2f 2f 20 |e, nil);|.}...// |
|00001cd0| 50 6c 61 79 65 72 50 72 | 65 76 54 72 61 63 6b 0d |PlayerPr|evTrack.|
|00001ce0| 2f 2f 0d 4f 53 53 74 61 | 74 75 73 20 50 6c 61 79 |//.OSSta|tus Play|
|00001cf0| 65 72 50 72 65 76 54 72 | 61 63 6b 20 28 76 6f 69 |erPrevTr|ack (voi|
|00001d00| 64 20 2a 61 70 70 43 6f | 6f 6b 69 65 2c 20 53 6f |d *appCo|okie, So|
|00001d10| 75 6e 64 4a 61 6d 50 72 | 6f 63 50 74 72 20 70 6c |undJamPr|ocPtr pl|
|00001d20| 61 79 65 72 48 61 6e 64 | 6c 65 72 29 0d 7b 0d 09 |ayerHand|ler).{..|
|00001d30| 72 65 74 75 72 6e 20 43 | 61 6c 6c 53 6f 75 6e 64 |return C|allSound|
|00001d40| 4a 61 6d 28 61 70 70 43 | 6f 6f 6b 69 65 2c 20 70 |Jam(appC|ookie, p|
|00001d50| 6c 61 79 65 72 48 61 6e | 64 6c 65 72 2c 20 6b 50 |layerHan|dler, kP|
|00001d60| 6c 61 79 65 72 50 72 65 | 76 54 72 61 63 6b 4d 65 |layerPre|vTrackMe|
|00001d70| 73 73 61 67 65 2c 20 6e | 69 6c 29 3b 0d 7d 0d 0d |ssage, n|il);.}..|
|00001d80| 0d 2f 2f 20 50 6c 61 79 | 65 72 4c 6f 61 64 54 72 |.// Play|erLoadTr|
|00001d90| 61 63 6b 0d 2f 2f 0d 4f | 53 53 74 61 74 75 73 20 |ack.//.O|SStatus |
|00001da0| 50 6c 61 79 65 72 4c 6f | 61 64 54 72 61 63 6b 20 |PlayerLo|adTrack |
|00001db0| 28 76 6f 69 64 20 2a 61 | 70 70 43 6f 6f 6b 69 65 |(void *a|ppCookie|
|00001dc0| 2c 20 53 6f 75 6e 64 4a | 61 6d 50 72 6f 63 50 74 |, SoundJ|amProcPt|
|00001dd0| 72 20 70 6c 61 79 65 72 | 48 61 6e 64 6c 65 72 29 |r player|Handler)|
|00001de0| 0d 7b 0d 09 72 65 74 75 | 72 6e 20 43 61 6c 6c 53 |.{..retu|rn CallS|
|00001df0| 6f 75 6e 64 4a 61 6d 28 | 61 70 70 43 6f 6f 6b 69 |oundJam(|appCooki|
|00001e00| 65 2c 20 70 6c 61 79 65 | 72 48 61 6e 64 6c 65 72 |e, playe|rHandler|
|00001e10| 2c 20 6b 50 6c 61 79 65 | 72 4c 6f 61 64 54 72 61 |, kPlaye|rLoadTra|
|00001e20| 63 6b 4d 65 73 73 61 67 | 65 2c 20 6e 69 6c 29 3b |ckMessag|e, nil);|
|00001e30| 0d 7d 0d 0d 0d 2f 2f 20 | 50 6c 61 79 65 72 4f 70 |.}...// |PlayerOp|
|00001e40| 65 6e 50 72 65 66 73 0d | 2f 2f 0d 76 6f 69 64 20 |enPrefs.|//.void |
|00001e50| 50 6c 61 79 65 72 4f 70 | 65 6e 50 72 65 66 73 20 |PlayerOp|enPrefs |
|00001e60| 28 76 6f 69 64 20 2a 61 | 70 70 43 6f 6f 6b 69 65 |(void *a|ppCookie|
|00001e70| 2c 20 53 6f 75 6e 64 4a | 61 6d 50 72 6f 63 50 74 |, SoundJ|amProcPt|
|00001e80| 72 20 70 6c 61 79 65 72 | 48 61 6e 64 6c 65 72 29 |r player|Handler)|
|00001e90| 0d 7b 0d 09 43 61 6c 6c | 53 6f 75 6e 64 4a 61 6d |.{..Call|SoundJam|
|00001ea0| 28 61 70 70 43 6f 6f 6b | 69 65 2c 20 70 6c 61 79 |(appCook|ie, play|
|00001eb0| 65 72 48 61 6e 64 6c 65 | 72 2c 20 6b 50 6c 61 79 |erHandle|r, kPlay|
|00001ec0| 65 72 4f 70 65 6e 50 72 | 65 66 73 4d 65 73 73 61 |erOpenPr|efsMessa|
|00001ed0| 67 65 2c 20 6e 69 6c 29 | 3b 0d 7d 0d 0d 0d 2f 2f |ge, nil)|;.}...//|
|00001ee0| 20 50 6c 61 79 65 72 43 | 6c 6f 73 65 57 69 6e 64 | PlayerC|loseWind|
|00001ef0| 6f 77 0d 2f 2f 0d 76 6f | 69 64 20 50 6c 61 79 65 |ow.//.vo|id Playe|
|00001f00| 72 43 6c 6f 73 65 57 69 | 6e 64 6f 77 20 28 76 6f |rCloseWi|ndow (vo|
|00001f10| 69 64 20 2a 61 70 70 43 | 6f 6f 6b 69 65 2c 20 53 |id *appC|ookie, S|
|00001f20| 6f 75 6e 64 4a 61 6d 50 | 72 6f 63 50 74 72 20 70 |oundJamP|rocPtr p|
|00001f30| 6c 61 79 65 72 48 61 6e | 64 6c 65 72 2c 20 57 69 |layerHan|dler, Wi|
|00001f40| 6e 64 6f 77 50 74 72 20 | 77 69 6e 64 6f 77 29 0d |ndowPtr |window).|
|00001f50| 7b 0d 09 50 6c 61 79 65 | 72 4d 65 73 73 61 67 65 |{..Playe|rMessage|
|00001f60| 49 6e 66 6f 09 6d 65 73 | 73 61 67 65 49 6e 66 6f |Info.mes|sageInfo|
|00001f70| 3b 0d 09 0d 09 4d 65 6d | 43 6c 65 61 72 28 26 6d |;....Mem|Clear(&m|
|00001f80| 65 73 73 61 67 65 49 6e | 66 6f 2c 20 73 69 7a 65 |essageIn|fo, size|
|00001f90| 6f 66 28 6d 65 73 73 61 | 67 65 49 6e 66 6f 29 29 |of(messa|geInfo))|
|00001fa0| 3b 0d 0d 09 6d 65 73 73 | 61 67 65 49 6e 66 6f 2e |;...mess|ageInfo.|
|00001fb0| 75 2e 63 6c 6f 73 65 57 | 69 6e 64 6f 77 4d 65 73 |u.closeW|indowMes|
|00001fc0| 73 61 67 65 2e 77 69 6e | 64 6f 77 09 3d 20 77 69 |sage.win|dow.= wi|
|00001fd0| 6e 64 6f 77 3b 0d 0d 09 | 43 61 6c 6c 53 6f 75 6e |ndow;...|CallSoun|
|00001fe0| 64 4a 61 6d 28 61 70 70 | 43 6f 6f 6b 69 65 2c 20 |dJam(app|Cookie, |
|00001ff0| 70 6c 61 79 65 72 48 61 | 6e 64 6c 65 72 2c 20 6b |playerHa|ndler, k|
|00002000| 50 6c 61 79 65 72 43 6c | 6f 73 65 57 69 6e 64 6f |PlayerCl|oseWindo|
|00002010| 77 4d 65 73 73 61 67 65 | 2c 20 26 6d 65 73 73 61 |wMessage|, &messa|
|00002020| 67 65 49 6e 66 6f 29 3b | 0d 7d 0d 0d 0d 2f 2f 20 |geInfo);|.}...// |
|00002030| 50 6c 61 79 65 72 4d 69 | 6e 69 6d 69 7a 65 57 69 |PlayerMi|nimizeWi|
|00002040| 6e 64 6f 77 0d 2f 2f 0d | 76 6f 69 64 20 50 6c 61 |ndow.//.|void Pla|
|00002050| 79 65 72 4d 69 6e 69 6d | 69 7a 65 57 69 6e 64 6f |yerMinim|izeWindo|
|00002060| 77 20 28 76 6f 69 64 20 | 2a 61 70 70 43 6f 6f 6b |w (void |*appCook|
|00002070| 69 65 2c 20 53 6f 75 6e | 64 4a 61 6d 50 72 6f 63 |ie, Soun|dJamProc|
|00002080| 50 74 72 20 70 6c 61 79 | 65 72 48 61 6e 64 6c 65 |Ptr play|erHandle|
|00002090| 72 2c 20 57 69 6e 64 6f | 77 50 74 72 20 77 69 6e |r, Windo|wPtr win|
|000020a0| 64 6f 77 2c 20 42 6f 6f | 6c 65 61 6e 20 69 73 4d |dow, Boo|lean isM|
|000020b0| 69 6e 69 6d 69 7a 65 64 | 29 0d 7b 0d 09 50 6c 61 |inimized|).{..Pla|
|000020c0| 79 65 72 4d 65 73 73 61 | 67 65 49 6e 66 6f 09 6d |yerMessa|geInfo.m|
|000020d0| 65 73 73 61 67 65 49 6e | 66 6f 3b 0d 09 0d 09 4d |essageIn|fo;....M|
|000020e0| 65 6d 43 6c 65 61 72 28 | 26 6d 65 73 73 61 67 65 |emClear(|&message|
|000020f0| 49 6e 66 6f 2c 20 73 69 | 7a 65 6f 66 28 6d 65 73 |Info, si|zeof(mes|
|00002100| 73 61 67 65 49 6e 66 6f | 29 29 3b 0d 0d 09 6d 65 |sageInfo|));...me|
|00002110| 73 73 61 67 65 49 6e 66 | 6f 2e 75 2e 6d 69 6e 69 |ssageInf|o.u.mini|
|00002120| 6d 69 7a 65 57 69 6e 64 | 6f 77 4d 65 73 73 61 67 |mizeWind|owMessag|
|00002130| 65 2e 77 69 6e 64 6f 77 | 09 09 3d 20 77 69 6e 64 |e.window|..= wind|
|00002140| 6f 77 3b 0d 09 6d 65 73 | 73 61 67 65 49 6e 66 6f |ow;..mes|sageInfo|
|00002150| 2e 75 2e 6d 69 6e 69 6d | 69 7a 65 57 69 6e 64 6f |.u.minim|izeWindo|
|00002160| 77 4d 65 73 73 61 67 65 | 2e 6d 69 6e 69 6d 69 7a |wMessage|.minimiz|
|00002170| 65 64 09 3d 20 69 73 4d | 69 6e 69 6d 69 7a 65 64 |ed.= isM|inimized|
|00002180| 3b 0d 0d 09 43 61 6c 6c | 53 6f 75 6e 64 4a 61 6d |;...Call|SoundJam|
|00002190| 28 61 70 70 43 6f 6f 6b | 69 65 2c 20 70 6c 61 79 |(appCook|ie, play|
|000021a0| 65 72 48 61 6e 64 6c 65 | 72 2c 20 6b 50 6c 61 79 |erHandle|r, kPlay|
|000021b0| 65 72 4d 69 6e 69 6d 69 | 7a 65 57 69 6e 64 6f 77 |erMinimi|zeWindow|
|000021c0| 4d 65 73 73 61 67 65 2c | 20 26 6d 65 73 73 61 67 |Message,| &messag|
|000021d0| 65 49 6e 66 6f 29 3b 0d | 7d 0d 0d 0d 2f 2f 20 50 |eInfo);.|}...// P|
|000021e0| 6c 61 79 65 72 53 65 74 | 54 72 61 63 6b 50 6f 73 |layerSet|TrackPos|
|000021f0| 69 74 69 6f 6e 0d 2f 2f | 0d 4f 53 53 74 61 74 75 |ition.//|.OSStatu|
|00002200| 73 20 50 6c 61 79 65 72 | 53 65 74 54 72 61 63 6b |s Player|SetTrack|
|00002210| 50 6f 73 69 74 69 6f 6e | 20 28 76 6f 69 64 20 2a |Position| (void *|
|00002220| 61 70 70 43 6f 6f 6b 69 | 65 2c 20 53 6f 75 6e 64 |appCooki|e, Sound|
|00002230| 4a 61 6d 50 72 6f 63 50 | 74 72 20 70 6c 61 79 65 |JamProcP|tr playe|
|00002240| 72 48 61 6e 64 6c 65 72 | 2c 20 55 49 6e 74 33 32 |rHandler|, UInt32|
|00002250| 20 70 6f 73 69 74 69 6f | 6e 49 6e 4d 53 29 0d 7b | positio|nInMS).{|
|00002260| 0d 09 50 6c 61 79 65 72 | 4d 65 73 73 61 67 65 49 |..Player|MessageI|
|00002270| 6e 66 6f 09 6d 65 73 73 | 61 67 65 49 6e 66 6f 3b |nfo.mess|ageInfo;|
|00002280| 0d 09 0d 09 4d 65 6d 43 | 6c 65 61 72 28 26 6d 65 |....MemC|lear(&me|
|00002290| 73 73 61 67 65 49 6e 66 | 6f 2c 20 73 69 7a 65 6f |ssageInf|o, sizeo|
|000022a0| 66 28 6d 65 73 73 61 67 | 65 49 6e 66 6f 29 29 3b |f(messag|eInfo));|
|000022b0| 0d 09 0d 09 6d 65 73 73 | 61 67 65 49 6e 66 6f 2e |....mess|ageInfo.|
|000022c0| 75 2e 73 65 74 54 72 61 | 63 6b 50 6f 73 69 74 69 |u.setTra|ckPositi|
|000022d0| 6f 6e 4d 65 73 73 61 67 | 65 2e 70 6f 73 69 74 69 |onMessag|e.positi|
|000022e0| 6f 6e 49 6e 4d 53 09 3d | 20 70 6f 73 69 74 69 6f |onInMS.=| positio|
|000022f0| 6e 49 6e 4d 53 3b 0d 0d | 09 72 65 74 75 72 6e 20 |nInMS;..|.return |
|00002300| 43 61 6c 6c 53 6f 75 6e | 64 4a 61 6d 28 61 70 70 |CallSoun|dJam(app|
|00002310| 43 6f 6f 6b 69 65 2c 20 | 70 6c 61 79 65 72 48 61 |Cookie, |playerHa|
|00002320| 6e 64 6c 65 72 2c 20 6b | 50 6c 61 79 65 72 53 65 |ndler, k|PlayerSe|
|00002330| 74 54 72 61 63 6b 50 6f | 73 69 74 69 6f 6e 4d 65 |tTrackPo|sitionMe|
|00002340| 73 73 61 67 65 2c 20 26 | 6d 65 73 73 61 67 65 49 |ssage, &|messageI|
|00002350| 6e 66 6f 29 3b 0d 7d 0d | 0d 0d 2f 2f 20 50 6c 61 |nfo);.}.|..// Pla|
|00002360| 79 65 72 53 65 74 56 6f | 6c 75 6d 65 42 61 6c 61 |yerSetVo|lumeBala|
|00002370| 6e 63 65 0d 2f 2f 0d 4f | 53 53 74 61 74 75 73 20 |nce.//.O|SStatus |
|00002380| 50 6c 61 79 65 72 53 65 | 74 56 6f 6c 75 6d 65 42 |PlayerSe|tVolumeB|
|00002390| 61 6c 61 6e 63 65 20 28 | 76 6f 69 64 20 2a 61 70 |alance (|void *ap|
|000023a0| 70 43 6f 6f 6b 69 65 2c | 20 53 6f 75 6e 64 4a 61 |pCookie,| SoundJa|
|000023b0| 6d 50 72 6f 63 50 74 72 | 20 70 6c 61 79 65 72 48 |mProcPtr| playerH|
|000023c0| 61 6e 64 6c 65 72 2c 20 | 53 49 6e 74 33 32 20 76 |andler, |SInt32 v|
|000023d0| 6f 6c 75 6d 65 2c 20 53 | 49 6e 74 33 32 20 62 61 |olume, S|Int32 ba|
|000023e0| 6c 61 6e 63 65 29 0d 7b | 0d 09 50 6c 61 79 65 72 |lance).{|..Player|
|000023f0| 4d 65 73 73 61 67 65 49 | 6e 66 6f 09 6d 65 73 73 |MessageI|nfo.mess|
|00002400| 61 67 65 49 6e 66 6f 3b | 0d 09 0d 09 4d 65 6d 43 |ageInfo;|....MemC|
|00002410| 6c 65 61 72 28 26 6d 65 | 73 73 61 67 65 49 6e 66 |lear(&me|ssageInf|
|00002420| 6f 2c 20 73 69 7a 65 6f | 66 28 6d 65 73 73 61 67 |o, sizeo|f(messag|
|00002430| 65 49 6e 66 6f 29 29 3b | 0d 09 0d 09 6d 65 73 73 |eInfo));|....mess|
|00002440| 61 67 65 49 6e 66 6f 2e | 75 2e 73 65 74 56 6f 6c |ageInfo.|u.setVol|
|00002450| 75 6d 65 42 61 6c 61 6e | 63 65 4d 65 73 73 61 67 |umeBalan|ceMessag|
|00002460| 65 2e 76 6f 6c 75 6d 65 | 09 3d 20 76 6f 6c 75 6d |e.volume|.= volum|
|00002470| 65 3b 0d 09 6d 65 73 73 | 61 67 65 49 6e 66 6f 2e |e;..mess|ageInfo.|
|00002480| 75 2e 73 65 74 56 6f 6c | 75 6d 65 42 61 6c 61 6e |u.setVol|umeBalan|
|00002490| 63 65 4d 65 73 73 61 67 | 65 2e 62 61 6c 61 6e 63 |ceMessag|e.balanc|
|000024a0| 65 09 3d 20 62 61 6c 61 | 6e 63 65 3b 0d 0d 09 72 |e.= bala|nce;...r|
|000024b0| 65 74 75 72 6e 20 43 61 | 6c 6c 53 6f 75 6e 64 4a |eturn Ca|llSoundJ|
|000024c0| 61 6d 28 61 70 70 43 6f | 6f 6b 69 65 2c 20 70 6c |am(appCo|okie, pl|
|000024d0| 61 79 65 72 48 61 6e 64 | 6c 65 72 2c 20 6b 50 6c |ayerHand|ler, kPl|
|000024e0| 61 79 65 72 53 65 74 56 | 6f 6c 75 6d 65 42 61 6c |ayerSetV|olumeBal|
|000024f0| 61 6e 63 65 4d 65 73 73 | 61 67 65 2c 20 26 6d 65 |anceMess|age, &me|
|00002500| 73 73 61 67 65 49 6e 66 | 6f 29 3b 0d 7d 0d 0d 0d |ssageInf|o);.}...|
|00002510| 2f 2f 20 50 6c 61 79 65 | 72 53 65 74 54 72 65 62 |// Playe|rSetTreb|
|00002520| 6c 65 42 61 73 73 0d 2f | 2f 0d 4f 53 53 74 61 74 |leBass./|/.OSStat|
|00002530| 75 73 20 50 6c 61 79 65 | 72 53 65 74 54 72 65 62 |us Playe|rSetTreb|
|00002540| 6c 65 42 61 73 73 20 28 | 76 6f 69 64 20 2a 61 70 |leBass (|void *ap|
|00002550| 70 43 6f 6f 6b 69 65 2c | 20 53 6f 75 6e 64 4a 61 |pCookie,| SoundJa|
|00002560| 6d 50 72 6f 63 50 74 72 | 20 70 6c 61 79 65 72 48 |mProcPtr| playerH|
|00002570| 61 6e 64 6c 65 72 2c 20 | 53 49 6e 74 33 32 20 74 |andler, |SInt32 t|
|00002580| 72 65 62 6c 65 2c 20 53 | 49 6e 74 33 32 20 62 61 |reble, S|Int32 ba|
|00002590| 73 73 29 0d 7b 0d 09 50 | 6c 61 79 65 72 4d 65 73 |ss).{..P|layerMes|
|000025a0| 73 61 67 65 49 6e 66 6f | 09 6d 65 73 73 61 67 65 |sageInfo|.message|
|000025b0| 49 6e 66 6f 3b 0d 09 0d | 09 4d 65 6d 43 6c 65 61 |Info;...|.MemClea|
|000025c0| 72 28 26 6d 65 73 73 61 | 67 65 49 6e 66 6f 2c 20 |r(&messa|geInfo, |
|000025d0| 73 69 7a 65 6f 66 28 6d | 65 73 73 61 67 65 49 6e |sizeof(m|essageIn|
|000025e0| 66 6f 29 29 3b 0d 09 0d | 09 6d 65 73 73 61 67 65 |fo));...|.message|
|000025f0| 49 6e 66 6f 2e 75 2e 73 | 65 74 54 72 65 62 6c 65 |Info.u.s|etTreble|
|00002600| 42 61 73 73 4d 65 73 73 | 61 67 65 2e 74 72 65 62 |BassMess|age.treb|
|00002610| 6c 65 09 3d 20 74 72 65 | 62 6c 65 3b 0d 09 6d 65 |le.= tre|ble;..me|
|00002620| 73 73 61 67 65 49 6e 66 | 6f 2e 75 2e 73 65 74 54 |ssageInf|o.u.setT|
|00002630| 72 65 62 6c 65 42 61 73 | 73 4d 65 73 73 61 67 65 |rebleBas|sMessage|
|00002640| 2e 62 61 73 73 09 3d 20 | 62 61 73 73 3b 0d 0d 09 |.bass.= |bass;...|
|00002650| 72 65 74 75 72 6e 20 43 | 61 6c 6c 53 6f 75 6e 64 |return C|allSound|
|00002660| 4a 61 6d 28 61 70 70 43 | 6f 6f 6b 69 65 2c 20 70 |Jam(appC|ookie, p|
|00002670| 6c 61 79 65 72 48 61 6e | 64 6c 65 72 2c 20 6b 50 |layerHan|dler, kP|
|00002680| 6c 61 79 65 72 53 65 74 | 54 72 65 62 6c 65 42 61 |layerSet|TrebleBa|
|00002690| 73 73 4d 65 73 73 61 67 | 65 2c 20 26 6d 65 73 73 |ssMessag|e, &mess|
|000026a0| 61 67 65 49 6e 66 6f 29 | 3b 0d 7d 0d 0d 0d 2f 2f |ageInfo)|;.}...//|
|000026b0| 20 50 6c 61 79 65 72 53 | 68 6f 77 41 62 6f 75 74 | PlayerS|howAbout|
|000026c0| 0d 2f 2f 0d 76 6f 69 64 | 20 50 6c 61 79 65 72 53 |.//.void| PlayerS|
|000026d0| 68 6f 77 41 62 6f 75 74 | 20 28 76 6f 69 64 20 2a |howAbout| (void *|
|000026e0| 61 70 70 43 6f 6f 6b 69 | 65 2c 20 53 6f 75 6e 64 |appCooki|e, Sound|
|000026f0| 4a 61 6d 50 72 6f 63 50 | 74 72 20 70 6c 61 79 65 |JamProcP|tr playe|
|00002700| 72 48 61 6e 64 6c 65 72 | 29 0d 7b 0d 09 43 61 6c |rHandler|).{..Cal|
|00002710| 6c 53 6f 75 6e 64 4a 61 | 6d 28 61 70 70 43 6f 6f |lSoundJa|m(appCoo|
|00002720| 6b 69 65 2c 20 70 6c 61 | 79 65 72 48 61 6e 64 6c |kie, pla|yerHandl|
|00002730| 65 72 2c 20 6b 50 6c 61 | 79 65 72 53 68 6f 77 41 |er, kPla|yerShowA|
|00002740| 62 6f 75 74 4d 65 73 73 | 61 67 65 2c 20 6e 69 6c |boutMess|age, nil|
|00002750| 29 3b 0d 7d 0d 0d 0d 2f | 2f 20 50 6c 61 79 65 72 |);.}.../|/ Player|
|00002760| 4f 70 65 6e 55 52 4c 0d | 2f 2f 0d 76 6f 69 64 20 |OpenURL.|//.void |
|00002770| 50 6c 61 79 65 72 4f 70 | 65 6e 55 52 4c 20 28 76 |PlayerOp|enURL (v|
|00002780| 6f 69 64 20 2a 61 70 70 | 43 6f 6f 6b 69 65 2c 20 |oid *app|Cookie, |
|00002790| 53 6f 75 6e 64 4a 61 6d | 50 72 6f 63 50 74 72 20 |SoundJam|ProcPtr |
|000027a0| 70 6c 61 79 65 72 48 61 | 6e 64 6c 65 72 2c 20 53 |playerHa|ndler, S|
|000027b0| 49 6e 74 38 20 2a 73 74 | 72 69 6e 67 2c 20 55 49 |Int8 *st|ring, UI|
|000027c0| 6e 74 33 32 20 6c 65 6e | 67 74 68 29 0d 7b 0d 09 |nt32 len|gth).{..|
|000027d0| 50 6c 61 79 65 72 4d 65 | 73 73 61 67 65 49 6e 66 |PlayerMe|ssageInf|
|000027e0| 6f 09 6d 65 73 73 61 67 | 65 49 6e 66 6f 3b 0d 09 |o.messag|eInfo;..|
|000027f0| 0d 09 4d 65 6d 43 6c 65 | 61 72 28 26 6d 65 73 73 |..MemCle|ar(&mess|
|00002800| 61 67 65 49 6e 66 6f 2c | 20 73 69 7a 65 6f 66 28 |ageInfo,| sizeof(|
|00002810| 6d 65 73 73 61 67 65 49 | 6e 66 6f 29 29 3b 0d 09 |messageI|nfo));..|
|00002820| 0d 09 6d 65 73 73 61 67 | 65 49 6e 66 6f 2e 75 2e |..messag|eInfo.u.|
|00002830| 6f 70 65 6e 55 52 4c 4d | 65 73 73 61 67 65 2e 75 |openURLM|essage.u|
|00002840| 72 6c 09 3d 20 73 74 72 | 69 6e 67 3b 0d 09 6d 65 |rl.= str|ing;..me|
|00002850| 73 73 61 67 65 49 6e 66 | 6f 2e 75 2e 6f 70 65 6e |ssageInf|o.u.open|
|00002860| 55 52 4c 4d 65 73 73 61 | 67 65 2e 6c 65 6e 67 74 |URLMessa|ge.lengt|
|00002870| 68 09 3d 20 6c 65 6e 67 | 74 68 3b 0d 0d 09 43 61 |h.= leng|th;...Ca|
|00002880| 6c 6c 53 6f 75 6e 64 4a | 61 6d 28 61 70 70 43 6f |llSoundJ|am(appCo|
|00002890| 6f 6b 69 65 2c 20 70 6c | 61 79 65 72 48 61 6e 64 |okie, pl|ayerHand|
|000028a0| 6c 65 72 2c 20 6b 50 6c | 61 79 65 72 4f 70 65 6e |ler, kPl|ayerOpen|
|000028b0| 55 52 4c 4d 65 73 73 61 | 67 65 2c 20 26 6d 65 73 |URLMessa|ge, &mes|
|000028c0| 73 61 67 65 49 6e 66 6f | 29 3b 0d 7d 0d 0d 0d 2f |sageInfo|);.}.../|
|000028d0| 2f 20 50 6c 61 79 65 72 | 53 65 74 45 51 4c 65 76 |/ Player|SetEQLev|
|000028e0| 65 6c 0d 2f 2f 0d 4f 53 | 53 74 61 74 75 73 20 50 |el.//.OS|Status P|
|000028f0| 6c 61 79 65 72 53 65 74 | 45 51 4c 65 76 65 6c 20 |layerSet|EQLevel |
|00002900| 28 76 6f 69 64 20 2a 61 | 70 70 43 6f 6f 6b 69 65 |(void *a|ppCookie|
|00002910| 2c 20 53 6f 75 6e 64 4a | 61 6d 50 72 6f 63 50 74 |, SoundJ|amProcPt|
|00002920| 72 20 70 6c 61 79 65 72 | 48 61 6e 64 6c 65 72 2c |r player|Handler,|
|00002930| 20 55 49 6e 74 33 32 20 | 62 61 6e 64 2c 20 53 49 | UInt32 |band, SI|
|00002940| 6e 74 33 32 20 6c 65 76 | 65 6c 29 0d 7b 0d 09 50 |nt32 lev|el).{..P|
|00002950| 6c 61 79 65 72 4d 65 73 | 73 61 67 65 49 6e 66 6f |layerMes|sageInfo|
|00002960| 09 6d 65 73 73 61 67 65 | 49 6e 66 6f 3b 0d 09 0d |.message|Info;...|
|00002970| 09 4d 65 6d 43 6c 65 61 | 72 28 26 6d 65 73 73 61 |.MemClea|r(&messa|
|00002980| 67 65 49 6e 66 6f 2c 20 | 73 69 7a 65 6f 66 28 6d |geInfo, |sizeof(m|
|00002990| 65 73 73 61 67 65 49 6e | 66 6f 29 29 3b 0d 09 0d |essageIn|fo));...|
|000029a0| 09 6d 65 73 73 61 67 65 | 49 6e 66 6f 2e 75 2e 73 |.message|Info.u.s|
|000029b0| 65 74 45 51 4c 65 76 65 | 6c 4d 65 73 73 61 67 65 |etEQLeve|lMessage|
|000029c0| 2e 62 61 6e 64 09 3d 20 | 62 61 6e 64 3b 0d 09 6d |.band.= |band;..m|
|000029d0| 65 73 73 61 67 65 49 6e | 66 6f 2e 75 2e 73 65 74 |essageIn|fo.u.set|
|000029e0| 45 51 4c 65 76 65 6c 4d | 65 73 73 61 67 65 2e 6c |EQLevelM|essage.l|
|000029f0| 65 76 65 6c 09 3d 20 6c | 65 76 65 6c 3b 0d 0d 09 |evel.= l|evel;...|
|00002a00| 72 65 74 75 72 6e 20 43 | 61 6c 6c 53 6f 75 6e 64 |return C|allSound|
|00002a10| 4a 61 6d 28 61 70 70 43 | 6f 6f 6b 69 65 2c 20 70 |Jam(appC|ookie, p|
|00002a20| 6c 61 79 65 72 48 61 6e | 64 6c 65 72 2c 20 6b 50 |layerHan|dler, kP|
|00002a30| 6c 61 79 65 72 53 65 74 | 45 51 4c 65 76 65 6c 4d |layerSet|EQLevelM|
|00002a40| 65 73 73 61 67 65 2c 20 | 26 6d 65 73 73 61 67 65 |essage, |&message|
|00002a50| 49 6e 66 6f 29 3b 0d 7d | 0d 0d 0d 2f 2f 20 50 6c |Info);.}|...// Pl|
|00002a60| 61 79 65 72 53 65 74 45 | 51 4f 70 74 69 6f 6e 73 |ayerSetE|QOptions|
|00002a70| 0d 2f 2f 0d 4f 53 53 74 | 61 74 75 73 20 50 6c 61 |.//.OSSt|atus Pla|
|00002a80| 79 65 72 53 65 74 45 51 | 4f 70 74 69 6f 6e 73 20 |yerSetEQ|Options |
|00002a90| 28 76 6f 69 64 20 2a 61 | 70 70 43 6f 6f 6b 69 65 |(void *a|ppCookie|
|00002aa0| 2c 20 53 6f 75 6e 64 4a | 61 6d 50 72 6f 63 50 74 |, SoundJ|amProcPt|
|00002ab0| 72 20 70 6c 61 79 65 72 | 48 61 6e 64 6c 65 72 2c |r player|Handler,|
|00002ac0| 20 4f 70 74 69 6f 6e 42 | 69 74 73 20 6f 70 74 69 | OptionB|its opti|
|00002ad0| 6f 6e 73 29 0d 7b 0d 09 | 50 6c 61 79 65 72 4d 65 |ons).{..|PlayerMe|
|00002ae0| 73 73 61 67 65 49 6e 66 | 6f 09 6d 65 73 73 61 67 |ssageInf|o.messag|
|00002af0| 65 49 6e 66 6f 3b 0d 09 | 0d 09 4d 65 6d 43 6c 65 |eInfo;..|..MemCle|
|00002b00| 61 72 28 26 6d 65 73 73 | 61 67 65 49 6e 66 6f 2c |ar(&mess|ageInfo,|
|00002b10| 20 73 69 7a 65 6f 66 28 | 6d 65 73 73 61 67 65 49 | sizeof(|messageI|
|00002b20| 6e 66 6f 29 29 3b 0d 09 | 0d 09 6d 65 73 73 61 67 |nfo));..|..messag|
|00002b30| 65 49 6e 66 6f 2e 75 2e | 73 65 74 45 51 4f 70 74 |eInfo.u.|setEQOpt|
|00002b40| 69 6f 6e 73 4d 65 73 73 | 61 67 65 2e 6f 70 74 69 |ionsMess|age.opti|
|00002b50| 6f 6e 73 09 3d 20 6f 70 | 74 69 6f 6e 73 3b 0d 0d |ons.= op|tions;..|
|00002b60| 09 72 65 74 75 72 6e 20 | 43 61 6c 6c 53 6f 75 6e |.return |CallSoun|
|00002b70| 64 4a 61 6d 28 61 70 70 | 43 6f 6f 6b 69 65 2c 20 |dJam(app|Cookie, |
|00002b80| 70 6c 61 79 65 72 48 61 | 6e 64 6c 65 72 2c 20 6b |playerHa|ndler, k|
|00002b90| 50 6c 61 79 65 72 53 65 | 74 45 51 4f 70 74 69 6f |PlayerSe|tEQOptio|
|00002ba0| 6e 73 4d 65 73 73 61 67 | 65 2c 20 26 6d 65 73 73 |nsMessag|e, &mess|
|00002bb0| 61 67 65 49 6e 66 6f 29 | 3b 0d 7d 0d 0d 0d 2f 2f |ageInfo)|;.}...//|
|00002bc0| 20 50 6c 61 79 65 72 50 | 6f 70 75 70 45 51 50 72 | PlayerP|opupEQPr|
|00002bd0| 65 73 65 74 73 4d 65 6e | 75 0d 2f 2f 0d 4f 53 53 |esetsMen|u.//.OSS|
|00002be0| 74 61 74 75 73 20 50 6c | 61 79 65 72 50 6f 70 75 |tatus Pl|ayerPopu|
|00002bf0| 70 45 51 50 72 65 73 65 | 74 73 4d 65 6e 75 20 28 |pEQPrese|tsMenu (|
|00002c00| 76 6f 69 64 20 2a 61 70 | 70 43 6f 6f 6b 69 65 2c |void *ap|pCookie,|
|00002c10| 20 53 6f 75 6e 64 4a 61 | 6d 50 72 6f 63 50 74 72 | SoundJa|mProcPtr|
|00002c20| 20 70 6c 61 79 65 72 48 | 61 6e 64 6c 65 72 2c 20 | playerH|andler, |
|00002c30| 50 6f 69 6e 74 20 6c 6f | 63 61 6c 50 74 29 0d 7b |Point lo|calPt).{|
|00002c40| 0d 09 50 6c 61 79 65 72 | 4d 65 73 73 61 67 65 49 |..Player|MessageI|
|00002c50| 6e 66 6f 09 6d 65 73 73 | 61 67 65 49 6e 66 6f 3b |nfo.mess|ageInfo;|
|00002c60| 0d 09 0d 09 4d 65 6d 43 | 6c 65 61 72 28 26 6d 65 |....MemC|lear(&me|
|00002c70| 73 73 61 67 65 49 6e 66 | 6f 2c 20 73 69 7a 65 6f |ssageInf|o, sizeo|
|00002c80| 66 28 6d 65 73 73 61 67 | 65 49 6e 66 6f 29 29 3b |f(messag|eInfo));|
|00002c90| 0d 09 0d 09 6d 65 73 73 | 61 67 65 49 6e 66 6f 2e |....mess|ageInfo.|
|00002ca0| 75 2e 70 6f 70 75 70 45 | 51 50 72 65 73 65 74 73 |u.popupE|QPresets|
|00002cb0| 4d 65 6e 75 4d 65 73 73 | 61 67 65 2e 6c 6f 63 61 |MenuMess|age.loca|
|00002cc0| 6c 50 74 09 3d 20 6c 6f | 63 61 6c 50 74 3b 0d 0d |lPt.= lo|calPt;..|
|00002cd0| 09 72 65 74 75 72 6e 20 | 43 61 6c 6c 53 6f 75 6e |.return |CallSoun|
|00002ce0| 64 4a 61 6d 28 61 70 70 | 43 6f 6f 6b 69 65 2c 20 |dJam(app|Cookie, |
|00002cf0| 70 6c 61 79 65 72 48 61 | 6e 64 6c 65 72 2c 20 6b |playerHa|ndler, k|
|00002d00| 50 6c 61 79 65 72 50 6f | 70 75 70 45 51 50 72 65 |PlayerPo|pupEQPre|
|00002d10| 73 65 74 73 4d 65 6e 75 | 4d 65 73 73 61 67 65 2c |setsMenu|Message,|
|00002d20| 20 26 6d 65 73 73 61 67 | 65 49 6e 66 6f 29 3b 0d | &messag|eInfo);.|
|00002d30| 7d 0d 0d 0d 2f 2f 20 50 | 6c 61 79 65 72 44 65 63 |}...// P|layerDec|
|00002d40| 6f 64 65 44 6f 6e 65 0d | 2f 2f 0d 76 6f 69 64 20 |odeDone.|//.void |
|00002d50| 50 6c 61 79 65 72 44 65 | 63 6f 64 65 44 6f 6e 65 |PlayerDe|codeDone|
|00002d60| 20 28 76 6f 69 64 20 2a | 61 70 70 43 6f 6f 6b 69 | (void *|appCooki|
|00002d70| 65 2c 20 53 6f 75 6e 64 | 4a 61 6d 50 72 6f 63 50 |e, Sound|JamProcP|
|00002d80| 74 72 20 70 6c 61 79 65 | 72 48 61 6e 64 6c 65 72 |tr playe|rHandler|
|00002d90| 2c 20 76 6f 69 64 20 2a | 70 6c 61 79 65 72 43 6f |, void *|playerCo|
|00002da0| 6f 6b 69 65 2c 20 4f 53 | 53 74 61 74 75 73 20 72 |okie, OS|Status r|
|00002db0| 65 61 64 53 74 61 74 75 | 73 2c 20 4f 53 53 74 61 |eadStatu|s, OSSta|
|00002dc0| 74 75 73 20 64 65 63 6f | 64 65 53 74 61 74 75 73 |tus deco|deStatus|
|00002dd0| 2c 20 55 49 6e 74 33 32 | 20 6e 75 6d 53 61 6d 70 |, UInt32| numSamp|
|00002de0| 6c 65 73 29 0d 7b 0d 09 | 50 6c 61 79 65 72 4d 65 |les).{..|PlayerMe|
|00002df0| 73 73 61 67 65 49 6e 66 | 6f 09 6d 65 73 73 61 67 |ssageInf|o.messag|
|00002e00| 65 49 6e 66 6f 3b 0d 09 | 0d 09 4d 65 6d 43 6c 65 |eInfo;..|..MemCle|
|00002e10| 61 72 28 26 6d 65 73 73 | 61 67 65 49 6e 66 6f 2c |ar(&mess|ageInfo,|
|00002e20| 20 73 69 7a 65 6f 66 28 | 6d 65 73 73 61 67 65 49 | sizeof(|messageI|
|00002e30| 6e 66 6f 29 29 3b 0d 09 | 0d 09 6d 65 73 73 61 67 |nfo));..|..messag|
|00002e40| 65 49 6e 66 6f 2e 75 2e | 64 65 63 6f 64 65 44 6f |eInfo.u.|decodeDo|
|00002e50| 6e 65 4d 65 73 73 61 67 | 65 2e 70 6c 61 79 65 72 |neMessag|e.player|
|00002e60| 43 6f 6f 6b 69 65 09 3d | 20 70 6c 61 79 65 72 43 |Cookie.=| playerC|
|00002e70| 6f 6f 6b 69 65 3b 0d 09 | 6d 65 73 73 61 67 65 49 |ookie;..|messageI|
|00002e80| 6e 66 6f 2e 75 2e 64 65 | 63 6f 64 65 44 6f 6e 65 |nfo.u.de|codeDone|
|00002e90| 4d 65 73 73 61 67 65 2e | 72 65 61 64 53 74 61 74 |Message.|readStat|
|00002ea0| 75 73 09 09 3d 20 72 65 | 61 64 53 74 61 74 75 73 |us..= re|adStatus|
|00002eb0| 3b 0d 09 6d 65 73 73 61 | 67 65 49 6e 66 6f 2e 75 |;..messa|geInfo.u|
|00002ec0| 2e 64 65 63 6f 64 65 44 | 6f 6e 65 4d 65 73 73 61 |.decodeD|oneMessa|
|00002ed0| 67 65 2e 64 65 63 6f 64 | 65 53 74 61 74 75 73 09 |ge.decod|eStatus.|
|00002ee0| 3d 20 64 65 63 6f 64 65 | 53 74 61 74 75 73 3b 0d |= decode|Status;.|
|00002ef0| 09 6d 65 73 73 61 67 65 | 49 6e 66 6f 2e 75 2e 64 |.message|Info.u.d|
|00002f00| 65 63 6f 64 65 44 6f 6e | 65 4d 65 73 73 61 67 65 |ecodeDon|eMessage|
|00002f10| 2e 6e 75 6d 53 61 6d 70 | 6c 65 73 09 09 3d 20 6e |.numSamp|les..= n|
|00002f20| 75 6d 53 61 6d 70 6c 65 | 73 3b 0d 09 0d 09 43 61 |umSample|s;....Ca|
|00002f30| 6c 6c 53 6f 75 6e 64 4a | 61 6d 28 61 70 70 43 6f |llSoundJ|am(appCo|
|00002f40| 6f 6b 69 65 2c 20 70 6c | 61 79 65 72 48 61 6e 64 |okie, pl|ayerHand|
|00002f50| 6c 65 72 2c 20 6b 50 6c | 61 79 65 72 44 65 63 6f |ler, kPl|ayerDeco|
|00002f60| 64 65 44 6f 6e 65 4d 65 | 73 73 61 67 65 2c 20 26 |deDoneMe|ssage, &|
|00002f70| 6d 65 73 73 61 67 65 49 | 6e 66 6f 29 3b 0d 7d 0d |messageI|nfo);.}.|
|00002f80| 0d 0d 2f 2f 20 50 6c 61 | 79 65 72 45 78 74 72 61 |..// Pla|yerExtra|
|00002f90| 63 74 50 72 6f 67 72 65 | 73 73 0d 2f 2f 0d 4f 53 |ctProgre|ss.//.OS|
|00002fa0| 53 74 61 74 75 73 20 50 | 6c 61 79 65 72 45 78 74 |Status P|layerExt|
|00002fb0| 72 61 63 74 50 72 6f 67 | 72 65 73 73 20 28 76 6f |ractProg|ress (vo|
|00002fc0| 69 64 20 2a 61 70 70 43 | 6f 6f 6b 69 65 2c 20 53 |id *appC|ookie, S|
|00002fd0| 6f 75 6e 64 4a 61 6d 50 | 72 6f 63 50 74 72 20 70 |oundJamP|rocPtr p|
|00002fe0| 6c 61 79 65 72 48 61 6e | 64 6c 65 72 2c 20 76 6f |layerHan|dler, vo|
|00002ff0| 69 64 20 2a 65 78 74 72 | 61 63 74 43 6f 6f 6b 69 |id *extr|actCooki|
|00003000| 65 2c 20 55 49 6e 74 33 | 32 20 70 72 6f 67 72 65 |e, UInt3|2 progre|
|00003010| 73 73 49 6e 4d 53 29 0d | 7b 0d 09 50 6c 61 79 65 |ssInMS).|{..Playe|
|00003020| 72 4d 65 73 73 61 67 65 | 49 6e 66 6f 09 6d 65 73 |rMessage|Info.mes|
|00003030| 73 61 67 65 49 6e 66 6f | 3b 0d 09 0d 09 4d 65 6d |sageInfo|;....Mem|
|00003040| 43 6c 65 61 72 28 26 6d | 65 73 73 61 67 65 49 6e |Clear(&m|essageIn|
|00003050| 66 6f 2c 20 73 69 7a 65 | 6f 66 28 6d 65 73 73 61 |fo, size|of(messa|
|00003060| 67 65 49 6e 66 6f 29 29 | 3b 0d 09 0d 09 6d 65 73 |geInfo))|;....mes|
|00003070| 73 61 67 65 49 6e 66 6f | 2e 75 2e 65 78 74 72 61 |sageInfo|.u.extra|
|00003080| 63 74 50 72 6f 67 72 65 | 73 73 4d 65 73 73 61 67 |ctProgre|ssMessag|
|00003090| 65 2e 65 78 74 72 61 63 | 74 43 6f 6f 6b 69 65 09 |e.extrac|tCookie.|
|000030a0| 3d 20 65 78 74 72 61 63 | 74 43 6f 6f 6b 69 65 3b |= extrac|tCookie;|
|000030b0| 0d 09 6d 65 73 73 61 67 | 65 49 6e 66 6f 2e 75 2e |..messag|eInfo.u.|
|000030c0| 65 78 74 72 61 63 74 50 | 72 6f 67 72 65 73 73 4d |extractP|rogressM|
|000030d0| 65 73 73 61 67 65 2e 70 | 72 6f 67 72 65 73 73 49 |essage.p|rogressI|
|000030e0| 6e 4d 53 09 3d 20 70 72 | 6f 67 72 65 73 73 49 6e |nMS.= pr|ogressIn|
|000030f0| 4d 53 3b 0d 09 0d 09 72 | 65 74 75 72 6e 20 43 61 |MS;....r|eturn Ca|
|00003100| 6c 6c 53 6f 75 6e 64 4a | 61 6d 28 61 70 70 43 6f |llSoundJ|am(appCo|
|00003110| 6f 6b 69 65 2c 20 70 6c | 61 79 65 72 48 61 6e 64 |okie, pl|ayerHand|
|00003120| 6c 65 72 2c 20 6b 50 6c | 61 79 65 72 45 78 74 72 |ler, kPl|ayerExtr|
|00003130| 61 63 74 50 72 6f 67 72 | 65 73 73 4d 65 73 73 61 |actProgr|essMessa|
|00003140| 67 65 2c 20 26 6d 65 73 | 73 61 67 65 49 6e 66 6f |ge, &mes|sageInfo|
|00003150| 29 3b 0d 7d 0d 0d 0d 2f | 2f 20 50 6c 61 79 65 72 |);.}.../|/ Player|
|00003160| 52 65 67 69 73 74 65 72 | 56 69 73 75 61 6c 50 6c |Register|VisualPl|
|00003170| 75 67 69 6e 0d 2f 2f 0d | 4f 53 53 74 61 74 75 73 |ugin.//.|OSStatus|
|00003180| 20 50 6c 61 79 65 72 52 | 65 67 69 73 74 65 72 56 | PlayerR|egisterV|
|00003190| 69 73 75 61 6c 50 6c 75 | 67 69 6e 20 28 76 6f 69 |isualPlu|gin (voi|
|000031a0| 64 20 2a 61 70 70 43 6f | 6f 6b 69 65 2c 20 53 6f |d *appCo|okie, So|
|000031b0| 75 6e 64 4a 61 6d 50 72 | 6f 63 50 74 72 20 70 6c |undJamPr|ocPtr pl|
|000031c0| 61 79 65 72 48 61 6e 64 | 6c 65 72 2c 20 50 6c 61 |ayerHand|ler, Pla|
|000031d0| 79 65 72 4d 65 73 73 61 | 67 65 49 6e 66 6f 20 2a |yerMessa|geInfo *|
|000031e0| 6d 65 73 73 61 67 65 49 | 6e 66 6f 29 0d 7b 09 09 |messageI|nfo).{..|
|000031f0| 09 0d 09 72 65 74 75 72 | 6e 20 43 61 6c 6c 53 6f |...retur|n CallSo|
|00003200| 75 6e 64 4a 61 6d 28 61 | 70 70 43 6f 6f 6b 69 65 |undJam(a|ppCookie|
|00003210| 2c 20 70 6c 61 79 65 72 | 48 61 6e 64 6c 65 72 2c |, player|Handler,|
|00003220| 20 6b 50 6c 61 79 65 72 | 52 65 67 69 73 74 65 72 | kPlayer|Register|
|00003230| 56 69 73 75 61 6c 50 6c | 75 67 69 6e 4d 65 73 73 |VisualPl|uginMess|
|00003240| 61 67 65 2c 20 6d 65 73 | 73 61 67 65 49 6e 66 6f |age, mes|sageInfo|
|00003250| 29 3b 0d 7d 0d 0d 0d 0d | 2f 2f 20 50 6c 61 79 65 |);.}....|// Playe|
|00003260| 72 52 65 67 69 73 74 65 | 72 50 6c 61 79 65 72 50 |rRegiste|rPlayerP|
|00003270| 6c 75 67 69 6e 0d 2f 2f | 0d 4f 53 53 74 61 74 75 |lugin.//|.OSStatu|
|00003280| 73 20 50 6c 61 79 65 72 | 52 65 67 69 73 74 65 72 |s Player|Register|
|00003290| 50 6c 61 79 65 72 50 6c | 75 67 69 6e 20 28 76 6f |PlayerPl|ugin (vo|
|000032a0| 69 64 20 2a 61 70 70 43 | 6f 6f 6b 69 65 2c 20 53 |id *appC|ookie, S|
|000032b0| 6f 75 6e 64 4a 61 6d 50 | 72 6f 63 50 74 72 20 70 |oundJamP|rocPtr p|
|000032c0| 6c 61 79 65 72 48 61 6e | 64 6c 65 72 2c 20 50 6c |layerHan|dler, Pl|
|000032d0| 61 79 65 72 4d 65 73 73 | 61 67 65 49 6e 66 6f 20 |ayerMess|ageInfo |
|000032e0| 2a 6d 65 73 73 61 67 65 | 49 6e 66 6f 29 0d 7b 09 |*message|Info).{.|
|000032f0| 09 09 0d 09 72 65 74 75 | 72 6e 20 43 61 6c 6c 53 |....retu|rn CallS|
|00003300| 6f 75 6e 64 4a 61 6d 28 | 61 70 70 43 6f 6f 6b 69 |oundJam(|appCooki|
|00003310| 65 2c 20 70 6c 61 79 65 | 72 48 61 6e 64 6c 65 72 |e, playe|rHandler|
|00003320| 2c 20 6b 50 6c 61 79 65 | 72 52 65 67 69 73 74 65 |, kPlaye|rRegiste|
|00003330| 72 50 6c 61 79 65 72 50 | 6c 75 67 69 6e 4d 65 73 |rPlayerP|luginMes|
|00003340| 73 61 67 65 2c 20 6d 65 | 73 73 61 67 65 49 6e 66 |sage, me|ssageInf|
|00003350| 6f 29 3b 0d 7d 0d 0d 0d | 0d 2f 2f 20 50 6c 61 79 |o);.}...|.// Play|
|00003360| 65 72 52 65 67 69 73 74 | 65 72 45 6e 63 6f 64 65 |erRegist|erEncode|
|00003370| 72 50 6c 75 67 69 6e 0d | 2f 2f 0d 4f 53 53 74 61 |rPlugin.|//.OSSta|
|00003380| 74 75 73 20 50 6c 61 79 | 65 72 52 65 67 69 73 74 |tus Play|erRegist|
|00003390| 65 72 45 6e 63 6f 64 65 | 72 50 6c 75 67 69 6e 20 |erEncode|rPlugin |
|000033a0| 28 76 6f 69 64 20 2a 61 | 70 70 43 6f 6f 6b 69 65 |(void *a|ppCookie|
|000033b0| 2c 20 53 6f 75 6e 64 4a | 61 6d 50 72 6f 63 50 74 |, SoundJ|amProcPt|
|000033c0| 72 20 70 6c 61 79 65 72 | 48 61 6e 64 6c 65 72 2c |r player|Handler,|
|000033d0| 20 50 6c 61 79 65 72 4d | 65 73 73 61 67 65 49 6e | PlayerM|essageIn|
|000033e0| 66 6f 20 2a 6d 65 73 73 | 61 67 65 49 6e 66 6f 29 |fo *mess|ageInfo)|
|000033f0| 0d 7b 09 09 09 0d 09 72 | 65 74 75 72 6e 20 43 61 |.{.....r|eturn Ca|
|00003400| 6c 6c 53 6f 75 6e 64 4a | 61 6d 28 61 70 70 43 6f |llSoundJ|am(appCo|
|00003410| 6f 6b 69 65 2c 20 70 6c | 61 79 65 72 48 61 6e 64 |okie, pl|ayerHand|
|00003420| 6c 65 72 2c 20 6b 50 6c | 61 79 65 72 52 65 67 69 |ler, kPl|ayerRegi|
|00003430| 73 74 65 72 45 6e 63 6f | 64 65 72 50 6c 75 67 69 |sterEnco|derPlugi|
|00003440| 6e 4d 65 73 73 61 67 65 | 2c 20 6d 65 73 73 61 67 |nMessage|, messag|
|00003450| 65 49 6e 66 6f 29 3b 0d | 7d 0d 0d 0d 2f 2f 20 50 |eInfo);.|}...// P|
|00003460| 6c 61 79 65 72 52 65 67 | 69 73 74 65 72 53 6b 69 |layerReg|isterSki|
|00003470| 6e 50 6c 75 67 69 6e 0d | 2f 2f 0d 4f 53 53 74 61 |nPlugin.|//.OSSta|
|00003480| 74 75 73 20 50 6c 61 79 | 65 72 52 65 67 69 73 74 |tus Play|erRegist|
|00003490| 65 72 53 6b 69 6e 50 6c | 75 67 69 6e 20 28 76 6f |erSkinPl|ugin (vo|
|000034a0| 69 64 20 2a 61 70 70 43 | 6f 6f 6b 69 65 2c 20 53 |id *appC|ookie, S|
|000034b0| 6f 75 6e 64 4a 61 6d 50 | 72 6f 63 50 74 72 20 70 |oundJamP|rocPtr p|
|000034c0| 6c 61 79 65 72 48 61 6e | 64 6c 65 72 2c 20 50 6c |layerHan|dler, Pl|
|000034d0| 61 79 65 72 4d 65 73 73 | 61 67 65 49 6e 66 6f 20 |ayerMess|ageInfo |
|000034e0| 2a 6d 65 73 73 61 67 65 | 49 6e 66 6f 29 0d 7b 09 |*message|Info).{.|
|000034f0| 09 09 0d 09 72 65 74 75 | 72 6e 20 43 61 6c 6c 53 |....retu|rn CallS|
|00003500| 6f 75 6e 64 4a 61 6d 28 | 61 70 70 43 6f 6f 6b 69 |oundJam(|appCooki|
|00003510| 65 2c 20 70 6c 61 79 65 | 72 48 61 6e 64 6c 65 72 |e, playe|rHandler|
|00003520| 2c 20 6b 50 6c 61 79 65 | 72 52 65 67 69 73 74 65 |, kPlaye|rRegiste|
|00003530| 72 53 6b 69 6e 50 6c 75 | 67 69 6e 4d 65 73 73 61 |rSkinPlu|ginMessa|
|00003540| 67 65 2c 20 6d 65 73 73 | 61 67 65 49 6e 66 6f 29 |ge, mess|ageInfo)|
|00003550| 3b 0d 7d 0d 0d 0d 2f 2f | 20 50 6c 61 79 65 72 52 |;.}...//| PlayerR|
|00003560| 65 67 69 73 74 65 72 44 | 65 76 69 63 65 50 6c 75 |egisterD|evicePlu|
|00003570| 67 69 6e 0d 2f 2f 0d 4f | 53 53 74 61 74 75 73 20 |gin.//.O|SStatus |
|00003580| 50 6c 61 79 65 72 52 65 | 67 69 73 74 65 72 44 65 |PlayerRe|gisterDe|
|00003590| 76 69 63 65 50 6c 75 67 | 69 6e 20 28 76 6f 69 64 |vicePlug|in (void|
|000035a0| 20 2a 61 70 70 43 6f 6f | 6b 69 65 2c 20 53 6f 75 | *appCoo|kie, Sou|
|000035b0| 6e 64 4a 61 6d 50 72 6f | 63 50 74 72 20 70 6c 61 |ndJamPro|cPtr pla|
|000035c0| 79 65 72 48 61 6e 64 6c | 65 72 2c 20 50 6c 61 79 |yerHandl|er, Play|
|000035d0| 65 72 4d 65 73 73 61 67 | 65 49 6e 66 6f 20 2a 6d |erMessag|eInfo *m|
|000035e0| 65 73 73 61 67 65 49 6e | 66 6f 29 0d 7b 09 09 09 |essageIn|fo).{...|
|000035f0| 0d 09 72 65 74 75 72 6e | 20 43 61 6c 6c 53 6f 75 |..return| CallSou|
|00003600| 6e 64 4a 61 6d 28 61 70 | 70 43 6f 6f 6b 69 65 2c |ndJam(ap|pCookie,|
|00003610| 20 70 6c 61 79 65 72 48 | 61 6e 64 6c 65 72 2c 20 | playerH|andler, |
|00003620| 6b 50 6c 61 79 65 72 52 | 65 67 69 73 74 65 72 44 |kPlayerR|egisterD|
|00003630| 65 76 69 63 65 50 6c 75 | 67 69 6e 4d 65 73 73 61 |evicePlu|ginMessa|
|00003640| 67 65 2c 20 6d 65 73 73 | 61 67 65 49 6e 66 6f 29 |ge, mess|ageInfo)|
|00003650| 3b 0d 7d 0d 0d 0d 2f 2f | 20 50 6c 61 79 65 72 55 |;.}...//| PlayerU|
|00003660| 6e 72 65 67 69 73 74 65 | 72 50 6c 75 67 69 6e 0d |nregiste|rPlugin.|
|00003670| 2f 2f 0d 4f 53 53 74 61 | 74 75 73 20 50 6c 61 79 |//.OSSta|tus Play|
|00003680| 65 72 55 6e 72 65 67 69 | 73 74 65 72 50 6c 75 67 |erUnregi|sterPlug|
|00003690| 69 6e 20 28 76 6f 69 64 | 20 2a 61 70 70 43 6f 6f |in (void| *appCoo|
|000036a0| 6b 69 65 2c 20 53 6f 75 | 6e 64 4a 61 6d 50 72 6f |kie, Sou|ndJamPro|
|000036b0| 63 50 74 72 20 70 6c 61 | 79 65 72 48 61 6e 64 6c |cPtr pla|yerHandl|
|000036c0| 65 72 2c 20 50 6c 61 79 | 65 72 4d 65 73 73 61 67 |er, Play|erMessag|
|000036d0| 65 49 6e 66 6f 20 2a 6d | 65 73 73 61 67 65 49 6e |eInfo *m|essageIn|
|000036e0| 66 6f 29 0d 7b 0d 09 72 | 65 74 75 72 6e 20 43 61 |fo).{..r|eturn Ca|
|000036f0| 6c 6c 53 6f 75 6e 64 4a | 61 6d 28 61 70 70 43 6f |llSoundJ|am(appCo|
|00003700| 6f 6b 69 65 2c 20 70 6c | 61 79 65 72 48 61 6e 64 |okie, pl|ayerHand|
|00003710| 6c 65 72 2c 20 6b 50 6c | 61 79 65 72 55 6e 72 65 |ler, kPl|ayerUnre|
|00003720| 67 69 73 74 65 72 50 6c | 75 67 69 6e 4d 65 73 73 |gisterPl|uginMess|
|00003730| 61 67 65 2c 20 6d 65 73 | 73 61 67 65 49 6e 66 6f |age, mes|sageInfo|
|00003740| 29 3b 0d 7d 0d 0d 0d 2f | 2f 20 50 6c 61 79 65 72 |);.}.../|/ Player|
|00003750| 51 75 65 75 65 44 65 66 | 65 72 72 65 64 54 61 73 |QueueDef|erredTas|
|00003760| 6b 0d 2f 2f 0d 4f 53 53 | 74 61 74 75 73 20 50 6c |k.//.OSS|tatus Pl|
|00003770| 61 79 65 72 49 6e 73 74 | 61 6c 6c 44 65 66 65 72 |ayerInst|allDefer|
|00003780| 72 65 64 54 61 73 6b 20 | 28 76 6f 69 64 20 2a 61 |redTask |(void *a|
|00003790| 70 70 43 6f 6f 6b 69 65 | 2c 20 53 6f 75 6e 64 4a |ppCookie|, SoundJ|
|000037a0| 61 6d 50 72 6f 63 50 74 | 72 20 70 6c 61 79 65 72 |amProcPt|r player|
|000037b0| 48 61 6e 64 6c 65 72 2c | 20 44 65 66 65 72 72 65 |Handler,| Deferre|
|000037c0| 64 54 61 73 6b 20 2a 64 | 54 61 73 6b 29 0d 7b 0d |dTask *d|Task).{.|
|000037d0| 09 50 6c 61 79 65 72 4d | 65 73 73 61 67 65 49 6e |.PlayerM|essageIn|
|000037e0| 66 6f 09 6d 65 73 73 61 | 67 65 49 6e 66 6f 3b 0d |fo.messa|geInfo;.|
|000037f0| 09 0d 09 4d 65 6d 43 6c | 65 61 72 28 26 6d 65 73 |...MemCl|ear(&mes|
|00003800| 73 61 67 65 49 6e 66 6f | 2c 20 73 69 7a 65 6f 66 |sageInfo|, sizeof|
|00003810| 28 6d 65 73 73 61 67 65 | 49 6e 66 6f 29 29 3b 0d |(message|Info));.|
|00003820| 09 0d 09 6d 65 73 73 61 | 67 65 49 6e 66 6f 2e 75 |...messa|geInfo.u|
|00003830| 2e 69 6e 73 74 61 6c 6c | 44 65 66 65 72 72 65 64 |.install|Deferred|
|00003840| 54 61 73 6b 4d 65 73 73 | 61 67 65 2e 64 65 66 65 |TaskMess|age.defe|
|00003850| 72 72 65 64 54 61 73 6b | 20 3d 20 64 54 61 73 6b |rredTask| = dTask|
|00003860| 3b 0d 09 09 0d 09 72 65 | 74 75 72 6e 20 43 61 6c |;.....re|turn Cal|
|00003870| 6c 53 6f 75 6e 64 4a 61 | 6d 28 61 70 70 43 6f 6f |lSoundJa|m(appCoo|
|00003880| 6b 69 65 2c 20 70 6c 61 | 79 65 72 48 61 6e 64 6c |kie, pla|yerHandl|
|00003890| 65 72 2c 20 6b 50 6c 61 | 79 65 72 49 6e 73 74 61 |er, kPla|yerInsta|
|000038a0| 6c 6c 44 65 66 65 72 72 | 65 64 54 61 73 6b 4d 65 |llDeferr|edTaskMe|
|000038b0| 73 73 61 67 65 2c 20 26 | 6d 65 73 73 61 67 65 49 |ssage, &|messageI|
|000038c0| 6e 66 6f 29 3b 0d 7d 0d | 00 00 00 00 00 00 00 00 |nfo);.}.|........|
|000038d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000038e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000038f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003900| 00 00 01 00 00 00 01 54 | 00 00 00 54 00 00 00 46 |.......T|...T...F|
|00003910| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003920| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003930| 0d 53 6f 75 6e 64 4a 61 | 6d 41 50 49 2e 63 6d 73 |.SoundJa|mAPI.cms|
|00003940| 6e 2e 63 6c 73 2e 63 69 | 62 75 74 69 6f 6e 31 31 |n.cls.ci|bution11|
|00003950| 00 00 54 45 58 54 43 57 | 49 45 00 00 00 00 00 00 |..TEXTCW|IE......|
|00003960| 00 00 00 00 00 00 00 00 | 00 00 80 00 00 00 00 00 |........|........|
|00003970| 00 00 b3 d0 bd 0e 00 00 | 38 48 00 00 01 9a 00 00 |........|8H......|
|00003980| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003990| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000039a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000039b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000039c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000039d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000039e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000039f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003a00| 00 00 00 48 00 09 4d 6f | 6e 61 63 6f 00 00 00 00 |...H..Mo|naco....|
|00003a10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003a20| 00 00 00 00 00 00 00 03 | 00 04 00 52 00 14 02 44 |........|...R...D|
|00003a30| 02 66 00 52 00 14 02 44 | 02 66 b3 d0 bd 12 00 00 |.f.R...D|.f......|
|00003a40| 07 cf 00 00 07 e2 00 00 | 07 ac 01 00 00 00 00 04 |........|........|
|00003a50| 00 01 00 01 00 00 01 00 | 00 00 01 54 00 00 00 54 |........|...T...T|
|00003a60| 00 00 00 46 05 0f fa 40 | 16 c6 00 00 00 1c 00 46 |...F...@|.......F|
|00003a70| 00 01 4d 50 53 52 00 00 | 00 12 4d 57 42 42 00 00 |..MPSR..|..MWBB..|
|00003a80| 00 1e 03 ed ff ff 00 00 | 00 00 00 00 00 00 03 f0 |........|........|
|00003a90| ff ff 00 00 00 4c 00 00 | 00 00 00 00 00 00 00 00 |.....L..|........|
|00003aa0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003ab0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003ac0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003ad0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003ae0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003af0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+